Kaynağa Gözat

bug(lib): messed up darwin and non-darwin condition

Zander Hawke 9 ay önce
ebeveyn
işleme
9913741967
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      lib/default.nix

+ 2 - 2
lib/default.nix

@@ -62,7 +62,7 @@ rec {
   pkgsFor = lib.genAttrs allSystems (
     system:
     if isDarwin system then
-      import nixpkgs {
+      import nixpkgs-darwin {
         inherit system;
         config.allowUnfree = true;
         overlays = [
@@ -72,7 +72,7 @@ rec {
         ];
       }
     else
-      import nixpkgs-darwin {
+      import nixpkgs {
         inherit system;
         config.allowUnfree = true;
         overlays = [