mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 20:44:12 +00:00
julia-modules: move makeWrapper to nativeBuildInputs
This commit is contained in:
parent
737d1ffb22
commit
085724ef17
@ -45,7 +45,7 @@ let
|
||||
|
||||
# Start by wrapping Julia so it has access to Python and any other extra libs.
|
||||
# Also, prevent various packages (CondaPkg.jl, PythonCall.jl) from trying to do network calls.
|
||||
juliaWrapped = runCommand "julia-${julia.version}-wrapped" { buildInputs = [makeWrapper]; inherit makeWrapperArgs; } ''
|
||||
juliaWrapped = runCommand "julia-${julia.version}-wrapped" { nativeBuildInputs = [makeWrapper]; inherit makeWrapperArgs; } ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${julia}/bin/julia $out/bin/julia \
|
||||
--suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath extraLibs}" \
|
||||
@ -163,7 +163,7 @@ let
|
||||
in
|
||||
|
||||
runCommand "julia-${julia.version}-env" {
|
||||
buildInputs = [makeWrapper];
|
||||
nativeBuildInputs = [makeWrapper];
|
||||
|
||||
inherit julia;
|
||||
inherit juliaWrapped;
|
||||
|
Loading…
Reference in New Issue
Block a user