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" {
|
||||
nativeBuildInputs = [makeWrapper];
|
||||
|
||||
passthru = {
|
||||
inherit julia;
|
||||
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
|
||||
# expressions and build them separately to avoid IFD.
|
||||
@ -180,6 +181,7 @@ runCommand "julia-${julia.version}-env" {
|
||||
inherit overridesJson;
|
||||
inherit overridesToml;
|
||||
inherit projectAndDepot;
|
||||
};
|
||||
} (''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${juliaWrapped}/bin/julia $out/bin/julia \
|
||||
|
Loading…
Reference in New Issue
Block a user