mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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:
parent
52507b3a9b
commit
0d31a76813
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue