Merge pull request #19714 from LnL7/darwin-nodejs
nodejs: fix darwin build
This commit is contained in:
commit
f082efc58d
@ -9,4 +9,9 @@ import ./nodejs.nix (args // rec {
|
|||||||
url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.xz";
|
url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.xz";
|
||||||
sha256 = "1566q1kkv8j30fgqx8sm2h8323f38wwpa1hfb10gr6z46jyhv4a2";
|
sha256 = "1566q1kkv8j30fgqx8sm2h8323f38wwpa1hfb10gr6z46jyhv4a2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
substituteInPlace src/util.h \
|
||||||
|
--replace "tr1/type_traits" "type_traits"
|
||||||
|
'';
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user