mkDerivation: Make separateDebugInfo assertion lazier to match other assertions

This is needed to access attributes of derivations on platforms where
they cannot be built.
This commit is contained in:
John Ericson
2018-09-18 16:25:19 -04:00
parent 6769437186
commit 2111e7b742
2 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -94,8 +94,7 @@ callPackage ./common.nix { inherit stdenv; } {
mv $bin/bin/getconf_ $bin/bin/getconf
'';
# Hack to get around eval issue.
separateDebugInfo = !stdenv.isDarwin;
separateDebugInfo = true;
meta.description = "The GNU C Library";
}