git.iko.soy/typeable/nixpkgs
on master help sign in
meteor: Use makeLibraryPath
commit1829c84009dd785046f2973f3618b5a6f07dfc0a authorTuomas Tynkkynen <tuomas@tuxera.com> dateTue 7 Jun 2016, 21:18 (10 years ago) parentf2e6c25
1 file changed+2−2
pkgs/servers/meteor/default.nix+2−2
pkgs/servers/meteor/default.nix+2−2
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
4040 popd
4141 substituteInPlace $out/tools/cli/main.js \
4242 --replace "@INTERPRETER@" "$(cat $NIX_CC/nix-support/dynamic-linker)" \
43− --replace "@RPATH@" "${stdenv.cc.cc.lib}/lib:${zlib.out}/lib" \
43+ --replace "@RPATH@" "${lib.makeLibraryPath [ stdenv.cc.cc zlib ]}" \
4444 --replace "@PATCHELF@" "${patchelf}/bin/patchelf"
4545
4646 # Patch node.
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
5454 for p in $devBundle/mongodb/bin/mongo{,d}; do
5555 patchelf \
5656 --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
57− --set-rpath "$(patchelf --print-rpath $p):${stdenv.cc.cc.lib}/lib:${zlib.out}/lib" \
57+ --set-rpath "$(patchelf --print-rpath $p):${lib.makeLibraryPath [ stdenv.cc.cc zlib ]}" \
5858 $p
5959 done
6060