povray: fix build

This commit is contained in:
Shogo Takata 2025-01-08 10:14:39 +09:00
parent da76b6311e
commit b616090074
No known key found for this signature in database
GPG Key ID: 1906165ECFF5F8B6
2 changed files with 6 additions and 6 deletions

View File

@ -57,6 +57,12 @@ stdenv.mkDerivation (finalAttrs: {
sed -i -e 's/^povgroup.*/povgroup=nogroup/' Makefile.{am,in}
'';
# https://github.com/POV-Ray/povray/issues/460
env.NIX_CFLAGS_COMPILE = toString [
"-fno-finite-math-only"
"-DBOOST_BIND_GLOBAL_PLACEHOLDERS"
];
configureFlags = [
"COMPILED_BY=NixOS"
"--with-boost-thread=boost_thread"

View File

@ -4818,12 +4818,6 @@ with pkgs;
polaris-web = callPackage ../servers/polaris/web.nix { };
povray = callPackage ../tools/graphics/povray {
# https://github.com/POV-Ray/povray/issues/460
# https://github.com/NixOS/nixpkgs/issues/311017
stdenv = gcc12Stdenv;
};
projectlibre = callPackage ../applications/misc/projectlibre {
jre = jre8;
jdk = jdk8;