diff options
author | Sebastien Lavoie <sebastien.lavoie@shopify.com> | 2019-12-05 13:56:30 +0100 |
---|---|---|
committer | Sebastien Lavoie <sebastien.lavoie@shopify.com> | 2019-12-05 13:57:35 +0100 |
commit | 50915af13808bf62a62c80eeefd7bb9f2ed2e001 (patch) | |
tree | bd6e1a3c18e3b3ce85e0d403540cde63759387e1 /pkgs/development/tools/phantomjs2 | |
parent | f97746ba2726128dcf40134837ffd13b4042e95d (diff) | |
download | nixlib-50915af13808bf62a62c80eeefd7bb9f2ed2e001.tar nixlib-50915af13808bf62a62c80eeefd7bb9f2ed2e001.tar.gz nixlib-50915af13808bf62a62c80eeefd7bb9f2ed2e001.tar.bz2 nixlib-50915af13808bf62a62c80eeefd7bb9f2ed2e001.tar.lz nixlib-50915af13808bf62a62c80eeefd7bb9f2ed2e001.tar.xz nixlib-50915af13808bf62a62c80eeefd7bb9f2ed2e001.tar.zst nixlib-50915af13808bf62a62c80eeefd7bb9f2ed2e001.zip |
phantomjs2: Fix compilation when using clang60
Diffstat (limited to 'pkgs/development/tools/phantomjs2')
-rw-r--r-- | pkgs/development/tools/phantomjs2/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/tools/phantomjs2/default.nix b/pkgs/development/tools/phantomjs2/default.nix index 29b8d4d5ae1e..f50e7670b463 100644 --- a/pkgs/development/tools/phantomjs2/default.nix +++ b/pkgs/development/tools/phantomjs2/default.nix @@ -69,6 +69,10 @@ in stdenv.mkDerivation rec { --replace "QT_MINOR_VERSION, 5" "QT_MINOR_VERSION, 9" ''; + # Avoids error in webpage.cpp:80:89: + # invalid suffix on literal; C++11 requires a space between litend identifier + NIX_CFLAGS_COMPILE = "-Wno-reserved-user-defined-literal"; + __impureHostDeps = stdenv.lib.optional stdenv.isDarwin "/usr/lib/libicucore.dylib"; enableParallelBuilding = true; |