From 8edaedac0de6a219980a0e598921b40a5012a436 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 5 Jan 2026 01:46:23 +0100 Subject: [PATCH] superscs: fix build with gcc 15 --- pkgs/by-name/su/superscs/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/su/superscs/package.nix b/pkgs/by-name/su/superscs/package.nix index ae5fb5537be43..7bce24bc5bea1 100644 --- a/pkgs/by-name/su/superscs/package.nix +++ b/pkgs/by-name/su/superscs/package.nix @@ -19,7 +19,11 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-Qu7RM6Ew4hEmoIXO0utDDVmjmNX3yt3FxWZXCQ/Xjp4="; }; - postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' + postPatch = '' + substituteInPlace include/unit_test_util.h \ + --replace-fail "typedef int bool;" "#include " + '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace Makefile --replace-fail \ ".so" \ ".dylib"