darwin stdenv: cctools override needs to go away when targetPlatform changes
commit77bd6313bb5b99bbb48038b24536ddf4272a37d4
authorJohn Ericson <Ericson2314@Yahoo.com>
dateThu 15 Jun 2017, 14:37 (9 years ago)
parentafc0218
pkgs/stdenv/darwin/default.nix+3−1
@@ -294,7 +294,9 @@ in rec {
294294 };
295295
296296 darwin = super.darwin // {
297− inherit (darwin) dyld ICU Libsystem cctools libiconv;
297+ inherit (darwin) dyld ICU Libsystem libiconv;
298+ } // lib.optionalAttrs (super.targetPlatform == localSystem) {
299+ inherit (darwin) cctools;
298300 };
299301 } // lib.optionalAttrs (super.targetPlatform == localSystem) {
300302 # Need to get rid of these when cross-compiling.