nodejs: fix darwin build
This commit is contained in:
parent
9cd8b4e2d7
commit
cebb4788e5
@ -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…
x
Reference in New Issue
Block a user