From 195617153120422f5631c83a35ca56b28c49d705 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Tue, 28 May 2024 09:50:52 +0200 Subject: [PATCH] povray: build with gcc12 Building with gcc13 makes it fail to parse some scenes: https://github.com/POV-Ray/povray/issues/460 Fixes #311017 (cherry picked from commit dac428114e5ae25ed613713a2baca827f1e8ca8f) --- pkgs/top-level/all-packages.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e77daaf7115d9..fd468f5be92f0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11958,7 +11958,11 @@ with pkgs; postscript-lexmark = callPackage ../misc/drivers/postscript-lexmark { }; - povray = callPackage ../tools/graphics/povray { }; + povray = callPackage ../tools/graphics/povray { + # https://github.com/POV-Ray/povray/issues/460 + # https://github.com/NixOS/nixpkgs/issues/311017 + stdenv = gcc12Stdenv; + }; power-profiles-daemon = callPackage ../os-specific/linux/power-profiles-daemon { };