moonlight-qt: fix build on x86_64-darwin

This commit is contained in:
Weijia Wang 2023-06-30 11:08:53 +03:00
parent c94beb1e3a
commit 9afae37e49

View file

@ -32997,12 +32997,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 { };