3
0
Fork 0
forked from mirrors/nixpkgs

cockroachdb: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 14:09:10 +01:00
parent 5957b4a8d9
commit 55a30b39f5
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -22,6 +22,8 @@ buildGoPackage rec {
sha256 = "1pnzzmxxb7qxiiy8qpl2sifk4qrijjbhmzy47bnjj5ssdsjjjcqy";
};
NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-copy" "-Wno-error=redundant-move" "-Wno-error=pessimizing-move" ];
inherit nativeBuildInputs buildInputs;
buildPhase = ''