about summary refs log tree commit diff
path: root/pkgs/applications/graphics/rawtherapee
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2024-01-26 13:38:50 +0100
committerVladimír Čunát <v@cunat.cz>2024-01-26 14:13:26 +0100
commit69963e55ee0f7d64e75f3210a8e968ad9a6e728f (patch)
tree2920323d2c063d854e3fd8fd46da92a2ab16a4de /pkgs/applications/graphics/rawtherapee
parent94b11073db6a7ca5733bc2d45378d800d9542975 (diff)
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.
Diffstat (limited to 'pkgs/applications/graphics/rawtherapee')
-rw-r--r--pkgs/applications/graphics/rawtherapee/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/rawtherapee/default.nix b/pkgs/applications/graphics/rawtherapee/default.nix
index 85bbd1414cd92..cbf4efce28f57 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