nbd: fix build with clang
This commit is contained in:
parent
d44f6f2eb3
commit
479c0b5f6b
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ stdenv.mkDerivation rec {
|
|||
"--sysconfdir=/etc"
|
||||
];
|
||||
|
||||
# ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration";
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
passthru.tests = {
|
||||
|
|
Loading…
Reference in a new issue