Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ callPackage, fetchpatch2 }: 2 3let 4 juliaWithPackages = callPackage ../../julia-modules { }; 5 6 wrapJulia = 7 julia: 8 julia.overrideAttrs (oldAttrs: { 9 passthru = (oldAttrs.passthru or { }) // { 10 withPackages = juliaWithPackages.override { inherit julia; }; 11 }; 12 }); 13 14in 15 16{ 17 julia_19-bin = wrapJulia ( 18 callPackage (import ./generic-bin.nix { 19 version = "1.9.4"; 20 sha256 = { 21 x86_64-linux = "07d20c4c2518833e2265ca0acee15b355463361aa4efdab858dad826cf94325c"; 22 aarch64-linux = "541d0c5a9378f8d2fc384bb8595fc6ffe20d61054629a6e314fb2f8dfe2f2ade"; 23 x86_64-darwin = "67eec264f6afc9e9bf72c0f62c84d91c2ebdfaed6a0aa11606e3c983d278b441"; 24 aarch64-darwin = "67542975e86102eec95bc4bb7c30c5d8c7ea9f9a0b388f0e10f546945363b01a"; 25 }; 26 patches = [ 27 # https://github.com/JuliaLang/julia/commit/f5eeba35d9bf20de251bb9160cc935c71e8b19ba 28 ./patches/1.9-bin/0001-allow-skipping-internet-required-tests.patch 29 ]; 30 }) { } 31 ); 32 julia_110-bin = wrapJulia ( 33 callPackage (import ./generic-bin.nix { 34 version = "1.10.9"; 35 sha256 = { 36 x86_64-linux = "5a2d2c5224594b683c97e7304cb72407fbcf0be4a0187789cba1a2f73f0cbf09"; 37 aarch64-linux = "be222882e3674f960f43b6842f7bbb52a369977e40d5dcd26498793e1cd2dfb6"; 38 x86_64-darwin = "f80c93c30a18d8a5dc7f37d0cc94757fd3857651268e4a9e2d42d3b1ea3372f1"; 39 aarch64-darwin = "e62e00b22408159cba3d669f2d9e8b60c1d23b5c2d1c22ec25f4957d15ca98ef"; 40 }; 41 }) { } 42 ); 43 julia_111-bin = wrapJulia ( 44 callPackage (import ./generic-bin.nix { 45 version = "1.11.6"; 46 sha256 = { 47 x86_64-linux = "e99e52e2029d845097c68f2372d836186f0eb3fb897a9dde0bdf9ee9250d03d5"; 48 aarch64-linux = "c2c5cdce017cacadaccb7d22aa070f549e4e87c4bb10f15853170ddcb50bf5f4"; 49 x86_64-darwin = "195a897e031595f59821dbcaf87514faa8d64220334b285c3e9809fce4958f79"; 50 aarch64-darwin = "01caaa9c25fa1f071003807c8a6739de4941b5ec13751131128e00e21880e639"; 51 }; 52 }) { } 53 ); 54 julia_19 = wrapJulia ( 55 callPackage (import ./generic.nix { 56 version = "1.9.4"; 57 hash = "sha256-YYQ7lkf9BtOymU8yd6ZN4ctaWlKX2TC4yOO8DpN0ACQ="; 58 patches = [ 59 ./patches/1.9/0002-skip-failing-and-flaky-tests.patch 60 ]; 61 }) { } 62 ); 63 julia_110 = wrapJulia ( 64 callPackage (import ./generic.nix { 65 version = "1.10.9"; 66 hash = "sha256-u9by+X76fcXs+w159KTSvw43JeYwJ9Wvn0VyoEfniTM="; 67 patches = [ 68 ./patches/1.10/0002-skip-failing-and-flaky-tests.patch 69 # Revert https://github.com/JuliaLang/julia/pull/55354 70 # [build] Some improvements to the LLVM build system 71 # Related: https://github.com/JuliaLang/julia/issues/55617 72 (fetchpatch2 { 73 url = "https://github.com/JuliaLang/julia/commit/0be37db8c5b5a440bd9a11960ae9c998027b7337.patch"; 74 revert = true; 75 hash = "sha256-gXC3LE3AuHMlSdA4dW+rbAhJpSB6ZMaz9X1qrHDPX7Y="; 76 }) 77 ]; 78 }) { } 79 ); 80 julia_111 = wrapJulia ( 81 callPackage (import ./generic.nix { 82 version = "1.11.6"; 83 hash = "sha256-smje9BrcF0lsPg59y14nssvmocYcePZGNUTF9Mc0Foo="; 84 patches = [ 85 ./patches/1.11/0002-skip-failing-and-flaky-tests.patch 86 ]; 87 }) { } 88 ); 89}