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.
This commit is contained in:
Vladimír Čunát 2024-01-26 13:38:50 +01:00
parent 94b11073db
commit 69963e55ee
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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