From ec087f3d08f5861b6ffcce00a632858a57c86d31 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Sat, 9 Jul 2022 18:56:33 -0400 Subject: No flake --- flake.nix | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 flake.nix (limited to 'flake.nix') 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; - }; - } - ); -} -- cgit v1.2.3