virtualbox: hack-fix the build, issue #8962

For now, until a better resolution is found.
This commit is contained in:
Vladimír Čunát 2015-07-24 14:32:52 +02:00
parent 3d9a4d79cf
commit e998ecd351

View file

@ -98,7 +98,10 @@ in stdenv.mkDerivation {
src/apps/adpctl/VBoxNetAdpCtl.cpp
'';
# 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')
cat >> LocalConfig.kmk <<LOCAL_CONFIG
VBOX_WITH_TESTCASES :=
VBOX_WITH_TESTSUITE :=