From 9f0255c49eadf637403890c08f9f6dfdd73f0072 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Sat, 4 Jan 2025 11:43:00 +0100 Subject: [PATCH] ctypes_sh: fix build with GCC 14 --- pkgs/by-name/ct/ctypes_sh/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ct/ctypes_sh/package.nix b/pkgs/by-name/ct/ctypes_sh/package.nix index 032edc5f7d22..686bca23d390 100644 --- a/pkgs/by-name/ct/ctypes_sh/package.nix +++ b/pkgs/by-name/ct/ctypes_sh/package.nix @@ -32,6 +32,10 @@ stdenv.mkDerivation rec { libdwarf ]; + env = lib.optionalAttrs stdenv.cc.isGNU { + NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types"; + }; + meta = with lib; { description = "Foreign function interface for bash"; mainProgram = "ctypes.sh";