Skip to content

Commit 6f451c5

Browse files
committed
nas: fix build with gcc14
1 parent 9ceb117 commit 6f451c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/by-name/na/nas/package.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ stdenv.mkDerivation (finalAttrs: {
4545
"World"
4646
];
4747

48+
env.NIX_CFLAGS_COMPILE = toString [
49+
"-Wno-error=implicit-function-declaration"
50+
"-Wno-error=implicit-int"
51+
"-Wno-error=incompatible-pointer-types"
52+
];
53+
4854
installFlags = [
4955
"LDLIBS=-lfl"
5056
"DESTDIR=${placeholder "out"}"

0 commit comments

Comments
 (0)