mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
rustpython: unbreak on x86_64-darwin
This commit is contained in:
parent
ec382d4a72
commit
b062ec5b83
@ -312,8 +312,8 @@ in {
|
||||
inherit passthruFun;
|
||||
};
|
||||
|
||||
rustpython = callPackage ./rustpython/default.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||
rustpython = darwin.apple_sdk_11_0.callPackage ./rustpython/default.nix {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) SystemConfiguration;
|
||||
};
|
||||
|
||||
})
|
||||
|
@ -31,14 +31,5 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://rustpython.github.io";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
|
||||
# TODO: Remove once nixpkgs uses newer SDKs that supports '*at' functions.
|
||||
# Probably macOS SDK 10.13 or later. Check the current version in
|
||||
# .../os-specific/darwin/apple-sdk/default.nix
|
||||
#
|
||||
# From the build logs:
|
||||
#
|
||||
# > Undefined symbols for architecture x86_64: "_utimensat"
|
||||
broken = stdenv.isDarwin && stdenv.isx86_64;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user