Skip to content

Commit acf3ba4

Browse files
committed
feat: update nixpkgs and fix plpgsql-check build with gcc 15
With this new nixpkgs update come gcc 15, which introduced stricter C standard compliance. plpgsql-check fails to build due to this. To fix the build, we explicitly set the C standard to gnu17.
1 parent 6c2d201 commit acf3ba4

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/ext/plpgsql-check.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ let
4040
inherit hash;
4141
};
4242

43+
# Fix build with gcc 15
44+
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
45+
4346
buildInputs = [ postgresql ];
4447

4548
installPhase = ''

0 commit comments

Comments
 (0)