diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-09-03 22:04:15 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-09-03 22:04:15 +0200 |
commit | 3a7a990ee94107d9f0885bc82ab6357998a6d588 (patch) | |
tree | d26331311a1a127f227bcd999ec91c2cb9b9100a /pkgs/tools/filesystems/irods | |
parent | bd85a832c1261113fd69898f4f60e4fad990bfc5 (diff) |
irods: build with current version of llvm
Diffstat (limited to 'pkgs/tools/filesystems/irods')
-rw-r--r-- | pkgs/tools/filesystems/irods/default.nix | 6 |
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" |