julia.withPackages: expose pname/version and move things to passthru
This commit is contained in:
parent
078f1251c0
commit
fb35df9f91
@ -165,9 +165,10 @@ in
|
|||||||
runCommand "julia-${julia.version}-env" {
|
runCommand "julia-${julia.version}-env" {
|
||||||
nativeBuildInputs = [makeWrapper];
|
nativeBuildInputs = [makeWrapper];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
inherit julia;
|
inherit julia;
|
||||||
inherit juliaWrapped;
|
inherit juliaWrapped;
|
||||||
meta = julia.meta;
|
inherit (julia) pname version meta;
|
||||||
|
|
||||||
# Expose the steps we used along the way in case the user wants to use them, for example to build
|
# Expose the steps we used along the way in case the user wants to use them, for example to build
|
||||||
# expressions and build them separately to avoid IFD.
|
# expressions and build them separately to avoid IFD.
|
||||||
@ -180,6 +181,7 @@ runCommand "julia-${julia.version}-env" {
|
|||||||
inherit overridesJson;
|
inherit overridesJson;
|
||||||
inherit overridesToml;
|
inherit overridesToml;
|
||||||
inherit projectAndDepot;
|
inherit projectAndDepot;
|
||||||
|
};
|
||||||
} (''
|
} (''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
makeWrapper ${juliaWrapped}/bin/julia $out/bin/julia \
|
makeWrapper ${juliaWrapped}/bin/julia $out/bin/julia \
|
||||||
|
Loading…
Reference in New Issue
Block a user