Merge pull request #29517 from obsidiansystems/cctools-cross

darwin stdenv: cctools override needs to go away when targetPlatform changes
This commit is contained in:
John Ericson 2017-09-18 14:41:09 -04:00 committed by GitHub
commit e1372646aa

View file

@ -294,7 +294,9 @@ in rec {
};
darwin = super.darwin // {
inherit (darwin) dyld ICU Libsystem cctools libiconv;
inherit (darwin) dyld ICU Libsystem libiconv;
} // lib.optionalAttrs (super.targetPlatform == localSystem) {
inherit (darwin) cctools;
};
} // lib.optionalAttrs (super.targetPlatform == localSystem) {
# Need to get rid of these when cross-compiling.