diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 58ea2ba96c7b6..851101dee391e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6838,9 +6838,12 @@ with pkgs; dleyna-server = callPackage ../development/libraries/dleyna-server { }; - dmd = callPackage ../development/compilers/dmd { + dmd = callPackage ../development/compilers/dmd ({ inherit (darwin.apple_sdk.frameworks) Foundation; - }; + } // lib.optionalAttrs stdenv.isLinux { + # https://github.com/NixOS/nixpkgs/pull/206907#issuecomment-1527034123 + stdenv = gcc11Stdenv; + }); dmg2img = callPackage ../tools/misc/dmg2img { };