···11-# New rust versions should first go to staging.22-# Things to check after updating:33-# 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin:44-# i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github55-# This testing can be also done by other volunteers as part of the pull66-# request review, in case platforms cannot be covered.77-# 2. The LLVM version used for building should match with rust upstream.88-# Check the version number in the src/llvm-project git submodule in:99-# https://github.com/rust-lang/rust/blob/<version-tag>/.gitmodules1010-# 3. Firefox and Thunderbird should still build on x86_64-linux.1111-1212-{ stdenv, lib1313-, buildPackages1414-, newScope, callPackage1515-, CoreFoundation, Security, SystemConfiguration1616-, pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost1717-, makeRustPlatform1818-, llvmPackages_111919-, llvmPackages_15, llvm_152020-, fetchpatch2121-} @ args:2222-2323-import ./default.nix {2424- rustcVersion = "1.68.2";2525- rustcSha256 = "sha256-kzOcI/fNTQxF21jhi0xuFtYHD0J3qtnSSS0jKUvzLpY=";2626-2727- llvmSharedForBuild = pkgsBuildBuild.llvmPackages_15.libllvm.override { enableSharedLibraries = true; };2828- llvmSharedForHost = pkgsBuildHost.llvmPackages_15.libllvm.override { enableSharedLibraries = true; };2929- llvmSharedForTarget = pkgsBuildTarget.llvmPackages_15.libllvm.override { enableSharedLibraries = true; };3030-3131- llvmBootstrapForDarwin = llvmPackages_11;3232-3333- # For use at runtime3434- llvmShared = llvm_15.override { enableSharedLibraries = true; };3535-3636- # Expose llvmPackages used for rustc from rustc via passthru for LTO in Firefox3737- llvmPackages = llvmPackages_15;3838-3939- # Note: the version MUST be one version prior to the version we're4040- # building4141- bootstrapVersion = "1.67.1";4242-4343- # fetch hashes by running `print-hashes.sh ${bootstrapVersion}`4444- bootstrapHashes = {4545- i686-unknown-linux-gnu = "4fe2128cfc32687e4717da4c6cb21aa563c36802c8e695cd3537a45efc5b8729";4646- x86_64-unknown-linux-gnu = "652a8966436c4e97b127721d9130810e1cdc8dfdf526fad68c9c1f6281bd02a3";4747- x86_64-unknown-linux-musl = "6fdc9379f662f8e9edd2d23e0a3ebcda502cc9f9a381b7c7d5fa38c326a82ad1";4848- arm-unknown-linux-gnueabihf = "eb919ef62a084797c148574abe39f2fb1e52d20b004041090811a6d479eb6503";4949- armv7-unknown-linux-gnueabihf = "09614988feb6310f64eaadf609c92dba5da5ebdbb5531b43a2b18d5336296b67";5050- aarch64-unknown-linux-gnu = "8edee248eed4b17c09b3d7b0096944b7e5992dd1119a28429c0b6b4d39a9613c";5151- aarch64-unknown-linux-musl = "05d03936493c19483eec4dc63d03f9e7a13f356d1147d1b8d7fc5dbfe508b4ed";5252- x86_64-apple-darwin = "020702c9564f53e18ac880db77c2f6b660a24ea372e4fda3f0c1ef2f8b9c74b9";5353- aarch64-apple-darwin = "8b07560267ec85703a5a9397a1746170fd7013e29fcfb9ffb8daa9bbf1e3211a";5454- powerpc64le-unknown-linux-gnu = "1d4d8b75c72362bb6e02bf56b53af9287806c4ef08187b8d166af0557a7c0096";5555- riscv64gc-unknown-linux-gnu = "a1a33154aeb5498c0c24a2ba77ec63e31a40df5e0861c0afda8d5867289c5984";5656- mips64el-unknown-linux-gnuabi64 = "6d70fe81e4f52ce5d87bcf95b60587f43f68e6730d2def7872646a9c561017ca";5757- };5858-5959- selectRustPackage = pkgs: pkgs.rust_1_68;6060-6161- rustcPatches = [6262- # Fixes ICE.6363- # https://github.com/rust-lang/rust/pull/1076886464- (fetchpatch {6565- name = "re-erased-regions-are-local.patch";6666- url = "https://github.com/rust-lang/rust/commit/9d110847ab7f6aef56a8cd20cb6cea4fbcc51cd9.patch";6767- excludes = [ "*tests/*" ];6868- hash = "sha256-EZH5K1BEOOfi97xZr1xEHFP4jjvJ1+xqtRMvxBoL8pU=";6969- })7070- ];7171-}7272-7373-(builtins.removeAttrs args [ "fetchpatch" "pkgsBuildHost" "llvmPackages_11" "llvmPackages_15" "llvm_15"])
+63
pkgs/development/compilers/rust/1_69.nix
···11+# New rust versions should first go to staging.22+# Things to check after updating:33+# 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin:44+# i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github55+# This testing can be also done by other volunteers as part of the pull66+# request review, in case platforms cannot be covered.77+# 2. The LLVM version used for building should match with rust upstream.88+# Check the version number in the src/llvm-project git submodule in:99+# https://github.com/rust-lang/rust/blob/<version-tag>/.gitmodules1010+# 3. Firefox and Thunderbird should still build on x86_64-linux.1111+1212+{ stdenv, lib1313+, buildPackages1414+, newScope, callPackage1515+, CoreFoundation, Security, SystemConfiguration1616+, pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost1717+, makeRustPlatform1818+, llvmPackages_111919+, llvmPackages_15, llvm_152020+} @ args:2121+2222+import ./default.nix {2323+ rustcVersion = "1.69.0";2424+ rustcSha256 = "sha256-+wWXGGetbMq703ICefWpS5n2ECSSMYe1a7XEVfo89g8=";2525+2626+ llvmSharedForBuild = pkgsBuildBuild.llvmPackages_15.libllvm.override { enableSharedLibraries = true; };2727+ llvmSharedForHost = pkgsBuildHost.llvmPackages_15.libllvm.override { enableSharedLibraries = true; };2828+ llvmSharedForTarget = pkgsBuildTarget.llvmPackages_15.libllvm.override { enableSharedLibraries = true; };2929+3030+ llvmBootstrapForDarwin = llvmPackages_11;3131+3232+ # For use at runtime3333+ llvmShared = llvm_15.override { enableSharedLibraries = true; };3434+3535+ # Expose llvmPackages used for rustc from rustc via passthru for LTO in Firefox3636+ llvmPackages = llvmPackages_15;3737+3838+ # Note: the version MUST be one version prior to the version we're3939+ # building4040+ bootstrapVersion = "1.68.2";4141+4242+ # fetch hashes by running `print-hashes.sh ${bootstrapVersion}`4343+ bootstrapHashes = {4444+ i686-unknown-linux-gnu = "a85e1aa0831e8bd31dc8ba3e042b6dea69b4d45fd5d1111bf6fd2cc9d58dd619";4545+ x86_64-unknown-linux-gnu = "df7c7466ef35556e855c0d35af7ff08e133040400452eb3427c53202b6731926";4646+ x86_64-unknown-linux-musl = "bd02cbdedb4b7f2169a68dc8410e8436fab3734a3a30cab81ab21661d70c6ddd";4747+ arm-unknown-linux-gnueabihf = "a5847f9bcbb1fb4183656b1b01e191d8e48c7bc8346ec6831318b697a2f305c6";4848+ armv7-unknown-linux-gnueabihf = "f87e4b063b5f916b4a5057e5f544f819cee9ab5da3fe1a977cddb2170e7ba0d7";4949+ aarch64-unknown-linux-gnu = "b24d0df852490d80791a228f18c2b75f24b1e6437e6e745f85364edab245f7fa";5050+ aarch64-unknown-linux-musl = "e6615e72aaa3e3c9c42c35139ab253a9b738a4eab719e3e306e25026c1aa93e5";5151+ x86_64-apple-darwin = "632540d3d83758cb048dc45fcfbc0b29f6f170161a3051be22b0a2962a566fb9";5252+ aarch64-apple-darwin = "ab4c6add94686a0392953c588c2b61d4c03f51e855232d161dc492f286e34202";5353+ powerpc64le-unknown-linux-gnu = "cf95658277d71bb8ae3a0fbc53099cc1397ed40e0953c026f41cde4a9619efca";5454+ riscv64gc-unknown-linux-gnu = "befcf2d53e35ae3fe0d609d1e056bdc814bd36ce54028b8d6b8b9e38c0afcaa5";5555+ mips64el-unknown-linux-gnuabi64 = "ee85bbfdc2fb831f067fda19881e6427c8c86571ebff16c1bd219d850969ef0a";5656+ };5757+5858+ selectRustPackage = pkgs: pkgs.rust_1_69;5959+6060+ rustcPatches = [ ];6161+}6262+6363+(builtins.removeAttrs args [ "pkgsBuildHost" "llvmPackages_11" "llvmPackages_15" "llvm_15"])