diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d1d858365a0..41438b17e46f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32999,12 +32999,12 @@ with pkgs; moonlight-embedded = callPackage ../applications/misc/moonlight-embedded { }; - moonlight-qt = libsForQt5.callPackage ../applications/misc/moonlight-qt ({ - } // lib.optionalAttrs stdenv.isLinux { + moonlight-qt = libsForQt5.callPackage ../applications/misc/moonlight-qt { + stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; SDL2 = buildPackages.SDL2.override { - drmSupport = true; + drmSupport = stdenv.isLinux; }; - }); + }; mooSpace = callPackage ../applications/audio/mooSpace { };