mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 22:04:20 +00:00
38 lines
1.0 KiB
Nix
38 lines
1.0 KiB
Nix
{ 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_19-bin = wrapJulia (callPackage ./1.9-bin.nix { });
|
|
julia_110-bin = wrapJulia (callPackage ./1.10-bin.nix { });
|
|
julia_19 = wrapJulia (callPackage
|
|
(import ./generic.nix {
|
|
version = "1.9.4";
|
|
hash = "sha256-YYQ7lkf9BtOymU8yd6ZN4ctaWlKX2TC4yOO8DpN0ACQ=";
|
|
patches = [
|
|
./patches/1.9/0002-skip-failing-and-flaky-tests.patch
|
|
];
|
|
})
|
|
{ });
|
|
julia_110 = wrapJulia (callPackage
|
|
(import ./generic.nix {
|
|
version = "1.10.0";
|
|
hash = "sha256-pfjAzgjPEyvdkZygtbOytmyJ4OX35/sqgf+n8iXj20w=";
|
|
patches = [
|
|
./patches/1.10/0001-skip-building-docs-as-it-requires-network-access.patch
|
|
./patches/1.10/0002-skip-failing-and-flaky-tests.patch
|
|
];
|
|
})
|
|
{ });
|
|
}
|