mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
julia: Reference correct output of curl
This commit is contained in:
parent
c73aa79a8f
commit
501da21acc
@ -151,7 +151,7 @@ stdenv.mkDerivation rec {
|
|||||||
for prog in "$out/bin/julia" "$out/bin/julia-debug"; do
|
for prog in "$out/bin/julia" "$out/bin/julia-debug"; do
|
||||||
wrapProgram "$prog" \
|
wrapProgram "$prog" \
|
||||||
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
|
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
|
||||||
--prefix PATH : "${curl}/bin"
|
--prefix PATH : "${stdenv.lib.makeBinPath [ curl ]}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -163,8 +163,8 @@ stdenv.mkDerivation rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
for prog in "$out/bin/julia" "$out/bin/julia-debug"; do
|
for prog in "$out/bin/julia" "$out/bin/julia-debug"; do
|
||||||
wrapProgram "$prog" \
|
wrapProgram "$prog" \
|
||||||
--prefix LD_LIBRARY_PATH : "$out/lib/julia:$LD_LIBRARY_PATH" \
|
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
|
||||||
--prefix PATH : "${curl}/bin"
|
--prefix PATH : "${stdenv.lib.makeBinPath [ curl ]}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user