about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 7d2c900..426f9bd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -29,7 +29,7 @@
   outputs = { self, nixpkgs, flake-utils, ... }:
     flake-utils.lib.eachDefaultSystem (system:
       let
-        pkgs = import nixpkgs { inherit system; };
+        pkgs = nixpkgs.legacyPackages.${system};
 
         project = returnShellEnv:
           pkgs.haskellPackages.developPackage {
@@ -57,8 +57,8 @@
       in {
         defaultPackage = project false;
 
-        overlay = _: _: { xmonad-ng = self.defaultPackage.${system}; };
-
         devShell = project true;
-      });
+      }) // {
+        overlay = _: _: { xmonad-ng = self.defaultPackage; };
+      };
 }

Consider giving Nix/NixOS a try! <3