glibc, kernel-headers: Fix some eval errors on Darwin

Need to get the source to get elf.h
This commit is contained in:
John Ericson
2018-09-11 13:27:13 -04:00
parent d7e3dbef66
commit 846b44b2e9
2 changed files with 3 additions and 6 deletions

View File

@@ -5,8 +5,6 @@
, withGd ? false
}:
assert stdenv.cc.isGNU;
callPackage ./common.nix { inherit stdenv; } {
name = "glibc" + stdenv.lib.optionalString withGd "-gd";
@@ -96,7 +94,8 @@ callPackage ./common.nix { inherit stdenv; } {
mv $bin/bin/getconf_ $bin/bin/getconf
'';
separateDebugInfo = true;
# Hack to get around eval issue.
separateDebugInfo = !stdenv.isDarwin;
meta.description = "The GNU C Library";
}