mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
rustPlatform: fix darwin build failure
This commit is contained in:
parent
5d0e2dedd5
commit
c43e01b6d2
@ -9668,11 +9668,11 @@ in
|
|||||||
# So this commit doesn't remove the 1.45.2 release.
|
# So this commit doesn't remove the 1.45.2 release.
|
||||||
rust_1_45 = callPackage ../development/compilers/rust/1_45.nix {
|
rust_1_45 = callPackage ../development/compilers/rust/1_45.nix {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||||
llvmPackages = llvmPackages_10;
|
llvmPackages = if stdenv.cc.isClang then llvmPackages_5 else llvmPackages_10;
|
||||||
};
|
};
|
||||||
rust_1_46 = callPackage ../development/compilers/rust/1_46.nix {
|
rust_1_46 = callPackage ../development/compilers/rust/1_46.nix {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||||
llvmPackages = llvmPackages_10;
|
llvmPackages = if stdenv.cc.isClang then llvmPackages_5 else llvmPackages_10;
|
||||||
};
|
};
|
||||||
rust = rust_1_46;
|
rust = rust_1_46;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user