virtualbox: fix build

The issue was caused by upgrading `qt` from `qt56` to `qt57`, which
now requires C++11.

For more info, see https://github.com/NixOS/nixpkgs/issues/23257.
This commit is contained in:
Alexey Shmalko 2017-02-28 05:35:52 +02:00
parent 52507b3a9b
commit 0d31a76813
No known key found for this signature in database
GPG key ID: DCEF7BCCEB3066C3

View file

@ -66,6 +66,7 @@ in stdenv.mkDerivation {
set -x
sed -e 's@MKISOFS --version@MKISOFS -version@' \
-e 's@PYTHONDIR=.*@PYTHONDIR=${if pythonBindings then python else ""}@' \
-e 's@CXX_FLAGS="\(.*\)"@CXX_FLAGS="-std=c++11 \1"@' \
${optionalString (!headless) ''
-e 's@TOOLQT5BIN=.*@TOOLQT5BIN="${getDev qt5.qtbase}/bin"@' \
''} -i configure