darwin stdenv: cctools override needs to go away when targetPlatform changes

This commit is contained in:
John Ericson 2017-06-15 14:37:35 -04:00 committed by John Ericson
parent afc0218ecd
commit 77bd6313bb

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.