From 69963e55ee0f7d64e75f3210a8e968ad9a6e728f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 26 Jan 2024 13:38:50 +0100 Subject: [PATCH] rawtherapee: fixup build I expect this was due to gcc 12 -> 13. It's confusing that x86_64 doesn't suffer from this but aarch64 does: https://hydra.nixos.org/build/247470042/nixlog/1/tail For some reason it didn't suffice to extend CMAKE_CXX_FLAGS. --- pkgs/applications/graphics/rawtherapee/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/graphics/rawtherapee/default.nix b/pkgs/applications/graphics/rawtherapee/default.nix index 85bbd1414cd9..cbf4efce28f5 100644 --- a/pkgs/applications/graphics/rawtherapee/default.nix +++ b/pkgs/applications/graphics/rawtherapee/default.nix @@ -79,6 +79,7 @@ stdenv.mkDerivation rec { "-Wno-deprecated-declarations" "-Wno-unused-result" ]; + env.CXXFLAGS = "-include cstdint"; # needed at least with gcc13 on aarch64-linux postInstall = lib.optionalString stdenv.isDarwin '' mkdir -p $out/Applications/RawTherapee.app $out/bin