Skip to content

Commit

Permalink
povray: fix build (NixOS#371983)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Jan 13, 2025
2 parents c9e6f18 + b616090 commit 1d19e28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 0 additions & 6 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4788,12 +4788,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;
Expand Down

0 comments on commit 1d19e28

Please sign in to comment.