mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
darwin.apple_sdk_11_0.callPackage: fix eval on non‐Darwin
This commit is contained in:
parent
0c82d4dcfc
commit
af876a3d24
@ -277,7 +277,9 @@ stdenvs
|
||||
] mkStub;
|
||||
|
||||
callPackage = newScope (
|
||||
lib.optionalAttrs stdenv.isDarwin stdenvs // { inherit (pkgs.darwin.apple_sdk_11_0) rustPlatform; }
|
||||
lib.optionalAttrs stdenv.hostPlatform.isDarwin (
|
||||
stdenvs // { inherit (pkgs.darwin.apple_sdk_11_0) rustPlatform; }
|
||||
)
|
||||
);
|
||||
|
||||
rustPlatform =
|
||||
|
Loading…
Reference in New Issue
Block a user