diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d871f79cad1..83d791fa76dd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24404,7 +24404,10 @@ with pkgs; directx-headers = callPackage ../development/libraries/directx-headers {}; - directx-shader-compiler = callPackage ../tools/graphics/directx-shader-compiler {}; + directx-shader-compiler = callPackage ../tools/graphics/directx-shader-compiler { + # https://github.com/NixOS/nixpkgs/issues/216294 + stdenv = if stdenv.cc.isGNU && stdenv.isi686 then gcc11Stdenv else stdenv; + }; dkimproxy = callPackage ../servers/mail/dkimproxy { };