diff --git a/pkgs/development/tools/database/cdb/default.nix b/pkgs/development/tools/database/cdb/default.nix index 3da8c8855bc35..50dfb0a89b2c4 100644 --- a/pkgs/development/tools/database/cdb/default.nix +++ b/pkgs/development/tools/database/cdb/default.nix @@ -36,6 +36,11 @@ stdenv.mkDerivation { "out" ]; + env.NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=implicit-int" + "-Wno-error=implicit-function-declaration" + ]; + postPatch = '' # A little patch, borrowed from Archlinux AUR, borrowed from Gentoo Portage sed -e 's/^extern int errno;$/#include /' -i error.h