diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0faf57c85641..5039c7aa0cdb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3575,7 +3575,12 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; - gpu-burn = callPackage ../applications/misc/gpu-burn { }; + gpu-burn = callPackage ../applications/misc/gpu-burn { + # gpu-burn doesn't build on gcc11. CUDA 11.3 is the last version to use + # pre-gcc11, in particular gcc9. + cudatoolkit = cudaPackages_11_3.cudatoolkit; + stdenv = gcc9Stdenv; + }; greg = callPackage ../applications/audio/greg { pythonPackages = python3Packages;