diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..51c9048 --- /dev/null +++ b/flake.nix @@ -0,0 +1,15 @@ +{ + inputs.flake-utils.url = "github:numtide/flake-utils"; + inputs.biohazard = { + url = "git+https://bitbucket.org/ustenzel/biohazard/"; + flake = false; + }; + + outputs = { self, nixpkgs, flake-utils, biohazard }: + flake-utils.lib.eachDefaultSystem (system: + let pkgs = nixpkgs.legacyPackages.${system}; + in { + devShell = pkgs.callPackage ./shell.nix { biohazardSrc = biohazard; }; + defaultPackage = pkgs.callPackage ./default.nix { biohazardSrc = biohazard; }; + }); +} |