diff --git a/pkgs/development/julia-modules/default.nix b/pkgs/development/julia-modules/default.nix index 737cb9345a4b..b1761e19240a 100644 --- a/pkgs/development/julia-modules/default.nix +++ b/pkgs/development/julia-modules/default.nix @@ -165,21 +165,23 @@ in runCommand "julia-${julia.version}-env" { nativeBuildInputs = [makeWrapper]; - inherit julia; - inherit juliaWrapped; - meta = julia.meta; + passthru = { + inherit julia; + inherit juliaWrapped; + 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. - inherit dependencies; - inherit closureYaml; - inherit dependencyUuidToInfoYaml; - inherit dependencyUuidToRepoYaml; - inherit minimalRegistry; - inherit artifactsNix; - inherit overridesJson; - inherit overridesToml; - inherit projectAndDepot; + # 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. + inherit dependencies; + inherit closureYaml; + inherit dependencyUuidToInfoYaml; + inherit dependencyUuidToRepoYaml; + inherit minimalRegistry; + inherit artifactsNix; + inherit overridesJson; + inherit overridesToml; + inherit projectAndDepot; + }; } ('' mkdir -p $out/bin makeWrapper ${juliaWrapped}/bin/julia $out/bin/julia \