From dac428114e5ae25ed613713a2baca827f1e8ca8f 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 --- 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 2d22fdb10c86c..0d1bd52f72a2c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11970,7 +11970,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 { };