julia: Reference correct output of curl

This commit is contained in:
Tuomas Tynkkynen 2016-04-16 19:47:55 +03:00
parent c73aa79a8f
commit 501da21acc
2 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ stdenv.mkDerivation rec {
for prog in "$out/bin/julia" "$out/bin/julia-debug"; do
wrapProgram "$prog" \
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
--prefix PATH : "${curl}/bin"
--prefix PATH : "${stdenv.lib.makeBinPath [ curl ]}"
done
'';

View File

@ -163,8 +163,8 @@ stdenv.mkDerivation rec {
postInstall = ''
for prog in "$out/bin/julia" "$out/bin/julia-debug"; do
wrapProgram "$prog" \
--prefix LD_LIBRARY_PATH : "$out/lib/julia:$LD_LIBRARY_PATH" \
--prefix PATH : "${curl}/bin"
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
--prefix PATH : "${stdenv.lib.makeBinPath [ curl ]}"
done
'';