Skip to content

Commit

Permalink
bintools-wrapper: remove reference to removed appleSdkVersion
Browse files Browse the repository at this point in the history
Also use matching attribute for `-macosx_version_min`.

See NixOS#110140
  • Loading branch information
thefloweringash authored and Andreas Rammhold committed Jan 30, 2021
1 parent e4aa329 commit 721c129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/build-support/bintools-wrapper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ stdenv.mkDerivation {
# building. However it seems to be essential on aarch64-darwin and
# required for bootstrapping.
optionals stdenv.targetPlatform.isAarch64 [
"-macosx_version_min ${stdenv.minSdkVersion or "10.12"}"
"-macosx_version_min ${stdenv.macosVersionMin or "10.12"}"
] ++
[ "-sdk_version ${stdenv.appleSdkVersion or "10.12"}" ] ++
[ "-sdk_version ${if stdenv.targetPlatform.isAarch64 then "10.16" else "10.12"}" ] ++
# Ensure consistent LC_VERSION_MIN_MACOSX and remove LC_UUID.
[ "-no_uuid" ];
in ''
Expand Down

0 comments on commit 721c129

Please sign in to comment.