From 7334854f061065a55dbbed1c1def9e4f0ed0d5b3 Mon Sep 17 00:00:00 2001 From: jzbor Date: Mon, 2 Sep 2024 21:22:24 +0200 Subject: [PATCH] Fix flake.nix --- flake.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 5671c0d..6877ac3 100644 --- a/flake.nix +++ b/flake.nix @@ -10,10 +10,8 @@ outputs = { self, nixpkgs, cf, crane }: cf.lib.flakeForDefaultSystems (system: - with builtins; let - pkgs = nixpkgs.legacyPackages.${system}; - craneLib = (crane.mkLib nixpkgs.legacyPackages.${system}); + craneLib = crane.mkLib nixpkgs.legacyPackages.${system}; in { ### PACKAGES ### packages = { @@ -26,16 +24,9 @@ # doCheck = true; }; }; - - ### DEVELOPMENT SHELLS ### - devShells.default = pkgs.mkShellNoCC { - name = self.packages.${system}.default.name; - nativeBuildInputs = nativeBuildInputs ++ devInputs; - inherit buildInputs; - }; }) // { ### OVERLAY ### - overlays.default = final: prev: { + overlays.default = _: prev: { zinn = self.packages.${prev.system}.default; }; };