Skip to content

Commit

Permalink
nas: fix build with gcc14
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Dec 26, 2024
1 parent 9ceb117 commit 6f451c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/by-name/na/nas/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ stdenv.mkDerivation (finalAttrs: {
"World"
];

env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=implicit-function-declaration"
"-Wno-error=implicit-int"
"-Wno-error=incompatible-pointer-types"
];

installFlags = [
"LDLIBS=-lfl"
"DESTDIR=${placeholder "out"}"
Expand Down

0 comments on commit 6f451c5

Please sign in to comment.