diff options
author | Nick Cao <nickcao@nichi.co> | 2023-12-18 09:58:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 09:58:27 -0500 |
commit | fc5c9afd4d6374c92b4472c91dfa576301d7c295 (patch) | |
tree | 5f5857bb6b0502c76caa843c0d79004c76718dac /pkgs/development/compilers | |
parent | b3bd76d1591eb400db30f2a30a7333ed3eecc377 (diff) | |
parent | c8f0d302c1a8cd893bb7a6e11f9176b54127239a (diff) |
Merge pull request #225513 from codedownio/julia-modules
Build arbitrary Julia package environments in Nixpkgs
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/julia/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/compilers/julia/default.nix b/pkgs/development/compilers/julia/default.nix new file mode 100644 index 0000000000000..d4cd0ab6b83eb --- /dev/null +++ b/pkgs/development/compilers/julia/default.nix @@ -0,0 +1,20 @@ +{ callPackage }: + +let + juliaWithPackages = callPackage ../../julia-modules {}; + + wrapJulia = julia: julia.overrideAttrs (oldAttrs: { + passthru = (oldAttrs.passthru or {}) // { + withPackages = juliaWithPackages.override { inherit julia; }; + }; + }); + +in + +{ + julia_16-bin = wrapJulia (callPackage ./1.6-bin.nix {}); + julia_18-bin = wrapJulia (callPackage ./1.8-bin.nix {}); + julia_19-bin = wrapJulia (callPackage ./1.9-bin.nix {}); + julia_18 = wrapJulia (callPackage ./1.8.nix {}); + julia_19 = wrapJulia (callPackage ./1.9.nix {}); +} |