about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
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;
     };