povray: fix build
This commit is contained in:
parent
da76b6311e
commit
b616090074
@ -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"
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user