Skip to content

Commit 1b60728

Browse files
authored
sqsh: fix build with gcc 15 (#520340)
2 parents 061f2fd + 8c1dca7 commit 1b60728

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkgs/by-name/sq/sqsh/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ stdenv.mkDerivation (finalAttrs: {
2828
substituteInPlace configure --replace "libct.so" "libct.dylib"
2929
'';
3030

31+
# 'bool' used as identifier rejected by gcc 15's C23 default.
32+
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
33+
3134
enableParallelBuilding = true;
3235

3336
buildInputs = [

0 commit comments

Comments
 (0)