We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nodejs-18_x
1 parent 9be2ee2 commit 868f87bCopy full SHA for 868f87b
nix/new-common.nix
@@ -30,7 +30,9 @@ rec {
30
# patches = pkgs.lib.optional pkgs.stdenv.isDarwin (njPath + "/bypass-xcodebuild.diff");
31
# };
32
33
- nodejs = pkgs.nodejs-18_x.overrideAttrs (drv: {
+ nodejs = let
34
+ base = pkgs.nodejs-18_x;
35
+ in if !(pkgs.lib.hasInfix "-darwin" targetSystem) then base else base.overrideAttrs (drv: {
36
# XXX: we don’t want `bypass-xcodebuild.diff` or `bypass-darwin-xcrun-node16.patch`, rather we supply
37
# the pure `xcbuild` – without that, `blake2` doesn’t build,
38
# cf. <https://github.com/NixOS/nixpkgs/blob/29ae6a1f3d7a8886b3772df4dc42a13817875c7d/pkgs/development/web/nodejs/bypass-xcodebuild.diff>
0 commit comments