summary refs log tree commit diff
path: root/pkgs/applications/misc/monero/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/monero/default.nix')
-rw-r--r--pkgs/applications/misc/monero/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/misc/monero/default.nix b/pkgs/applications/misc/monero/default.nix
index 1fe5406384f..6af9b7dc267 100644
--- a/pkgs/applications/misc/monero/default.nix
+++ b/pkgs/applications/misc/monero/default.nix
@@ -16,6 +16,9 @@ stdenv.mkDerivation {
   # these tests take a long time and don't
   # always complete in the build environment
   postPatch = "sed -i '/add_subdirectory(tests)/d' CMakeLists.txt";
+
+  NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
+
   doCheck = false;
   checkTarget = "test-release"; # this would be the target