Skip to content

Commit

Permalink
nas: fix build with gcc14 (#368331)
Browse files Browse the repository at this point in the history
  • Loading branch information
misuzu authored Dec 29, 2024
2 parents a7f519f + 6f451c5 commit 88195a9
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 88195a9

Please sign in to comment.