Skip to content

Commit 9f0255c

Browse files
committed
ctypes_sh: fix build with GCC 14
1 parent 450382b commit 9f0255c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/ct/ctypes_sh/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
3232
libdwarf
3333
];
3434

35+
env = lib.optionalAttrs stdenv.cc.isGNU {
36+
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
37+
};
38+
3539
meta = with lib; {
3640
description = "Foreign function interface for bash";
3741
mainProgram = "ctypes.sh";

0 commit comments

Comments
 (0)