diff options
author | Cara Salter <cara@devcara.com> | 2022-07-09 18:56:33 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-07-09 18:56:33 -0400 |
commit | ec087f3d08f5861b6ffcce00a632858a57c86d31 (patch) | |
tree | eeb3b0b9372b5d01c740c88f196656078d1c9d5d /flake.nix | |
parent | 945991ae5227bf3de7d715e4d256e11f1753e4fa (diff) | |
download | solarlib-ec087f3d08f5861b6ffcce00a632858a57c86d31.tar.gz solarlib-ec087f3d08f5861b6ffcce00a632858a57c86d31.zip |
No flake
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 415d277..0000000 --- a/flake.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ - inputs = { - flake-utils.url = "github:numtide/flake-utils"; - naersk.url = "github:nix-community/naersk"; - }; - - outputs = { self, nixpkgs, flake-utils, naersk }: - flake-utils.lib.eachDefaultSystem ( - system: let - pkgs = nixpkgs.legacyPackages."${system}"; - naersk-lib = naersk.lib."${system}"; - - build-inputs = with pkgs; [ - libvirt - ]; - in - rec { - # `nix build` - packages.waifulib = naersk-lib.buildPackage { - pname = "solarlib"; - root = ./.; - buildInputs = build-inputs; - }; - defaultPackage = packages.waifulib; - - # `nix run` - apps.waifulib = flake-utils.lib.mkApp { - drv = packages.waifulib; - }; - defaultApp = apps.waifulib; - - # `nix develop` - devShell = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ rustc cargo ] ++ build-inputs; - }; - } - ); -} |