summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/filesystems/irods
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2019-09-03 22:04:15 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2019-09-03 22:04:15 +0200
commit3a7a990ee94107d9f0885bc82ab6357998a6d588 (patch)
treed26331311a1a127f227bcd999ec91c2cb9b9100a /pkgs/tools/filesystems/irods
parentbd85a832c1261113fd69898f4f60e4fad990bfc5 (diff)
irods: build with current version of llvm
Diffstat (limited to 'pkgs/tools/filesystems/irods')
-rw-r--r--pkgs/tools/filesystems/irods/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/irods/default.nix b/pkgs/tools/filesystems/irods/default.nix
index 031c1440fcf9..14790ae70870 100644
--- a/pkgs/tools/filesystems/irods/default.nix
+++ b/pkgs/tools/filesystems/irods/default.nix
@@ -30,6 +30,12 @@ in rec {
# but we don't use /usr with nix, so remove only 2 items.
patches = [ ./irods_root_path.patch ];
+ NIX_CFLAGS_COMPILE = [
+ # fix build with recent llvm versions
+ "-Wno-deprecated-register"
+ "-Wno-deprecated-declarations"
+ ];
+
preConfigure = common.preConfigure + ''
patchShebangs ./test
substituteInPlace plugins/database/CMakeLists.txt --replace "COMMAND cpp" "COMMAND ${gcc.cc}/bin/cpp"