virtualbox: Fix glibc dev reference

This commit is contained in:
Tuomas Tynkkynen 2016-08-31 12:32:34 +03:00
parent c46869f13b
commit feed8beb47

View File

@ -108,7 +108,7 @@ in stdenv.mkDerivation {
# first line: ugly hack, and it isn't yet clear why it's a problem
configurePhase = ''
NIX_CFLAGS_COMPILE=$(echo "$NIX_CFLAGS_COMPILE" | sed 's,\-isystem ${stdenv.cc.libc}/include,,g')
NIX_CFLAGS_COMPILE=$(echo "$NIX_CFLAGS_COMPILE" | sed 's,\-isystem ${lib.getDev stdenv.cc.libc}/include,,g')
cat >> LocalConfig.kmk <<LOCAL_CONFIG
VBOX_WITH_TESTCASES :=