Skip to content

Commit

Permalink
chore: improve darwin fixes overlay performance
Browse files Browse the repository at this point in the history
  • Loading branch information
tie committed May 3, 2024
1 parent 031024c commit ccd7dec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nixpkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@
];
});
in
lib.optionalAttrs
prev.stdenv.buildPlatform.isDarwin # NB final causes infinite recursion
(lib.genAttrs [ "glibc" "glibcCross" ] (attr: overridePatch prev.${attr}));
lib.genAttrs [ "glibc" "glibcCross" ] (attr: overridePatch prev.${attr});

nixpkgsArgs = {
localSystem = { inherit system; };
overlays = [
self.overlays.default
] ++ lib.optionals (lib.hasSuffix "-darwin" system) [
fixNixpkgsIssue303193
];
};
Expand Down

0 comments on commit ccd7dec

Please sign in to comment.