Skip to content

Commit

Permalink
virtualbox: hack-fix the build, issue #8962
Browse files Browse the repository at this point in the history
For now, until a better resolution is found.
  • Loading branch information
vcunat committed Jul 24, 2015
1 parent 3d9a4d7 commit e998ecd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/applications/virtualization/virtualbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 :=
Expand Down

0 comments on commit e998ecd

Please sign in to comment.