diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix index d437310..165b386 100644 --- a/flake.nix +++ b/flake.nix @@ -21,12 +21,11 @@ nixosModules.default = import ./configuration.nix self; } // forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; - naersk-lib = naersk.lib.${system}.override { - inherit (pkgs) rustc cargo; - }; in { packages = { - kittybox = pkgs.callPackage ./kittybox.nix { inherit naersk-lib; }; + kittybox = pkgs.callPackage ./kittybox.nix { + naersk = naersk.lib.${system}; + }; default = self.packages.${system}.kittybox; }; |