mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
rustc: use llvm_39
This commit is contained in:
parent
af33b23de3
commit
01d8d1b062
@ -1,5 +1,8 @@
|
|||||||
{ stdenv, callPackage, recurseIntoAttrs, makeRustPlatform,
|
{ stdenv, callPackage, recurseIntoAttrs, makeRustPlatform, llvm
|
||||||
targets ? [], targetToolchains ? [], targetPatches ? [] }:
|
, targets ? []
|
||||||
|
, targetToolchains ? []
|
||||||
|
, targetPatches ? []
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}));
|
rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}));
|
||||||
@ -17,6 +20,7 @@ rec {
|
|||||||
./patches/darwin-disable-fragile-tcp-tests.patch
|
./patches/darwin-disable-fragile-tcp-tests.patch
|
||||||
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
||||||
|
|
||||||
|
inherit llvm;
|
||||||
inherit targets;
|
inherit targets;
|
||||||
inherit targetPatches;
|
inherit targetPatches;
|
||||||
inherit targetToolchains;
|
inherit targetToolchains;
|
||||||
|
@ -5541,7 +5541,9 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
|
|
||||||
rust = rustStable;
|
rust = rustStable;
|
||||||
rustStable = callPackage ../development/compilers/rust {};
|
rustStable = callPackage ../development/compilers/rust {
|
||||||
|
inherit (llvmPackages_39) llvm;
|
||||||
|
};
|
||||||
rustBeta = lowPrio (recurseIntoAttrs (callPackage ../development/compilers/rust/beta.nix {}));
|
rustBeta = lowPrio (recurseIntoAttrs (callPackage ../development/compilers/rust/beta.nix {}));
|
||||||
rustNightly = lowPrio (recurseIntoAttrs (callPackage ../development/compilers/rust/nightly.nix {
|
rustNightly = lowPrio (recurseIntoAttrs (callPackage ../development/compilers/rust/nightly.nix {
|
||||||
rustPlatform = recurseIntoAttrs (makeRustPlatform rustBeta);
|
rustPlatform = recurseIntoAttrs (makeRustPlatform rustBeta);
|
||||||
|
Loading…
Reference in New Issue
Block a user