Skip to content

Commit

Permalink
Add baseJulia version to julia wrapped name
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Nov 29, 2022
1 parent c772401 commit 56d0e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let
# Wrapped Julia with libraries and environment variables.
# Note: setting The PYTHON environment variable is recommended to prevent packages
# from trying to obtain their own with Conda.
julia = runCommand "julia-wrapped" { buildInputs = [makeWrapper]; } ''
julia = runCommand "julia-${baseJulia.version}-wrapped" { buildInputs = [makeWrapper]; } ''
mkdir -p $out/bin
makeWrapper ${baseJulia}/bin/julia $out/bin/julia \
--suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath extraLibs}" \
Expand Down

0 comments on commit 56d0e46

Please sign in to comment.