Merge pull request #240684 from wegank/moonlight-qt-darwin

moonlight-qt: fix build on x86_64-darwin
This commit is contained in:
Weijia Wang 2023-06-30 13:07:07 +03:00 committed by GitHub
commit dc15be6405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 { };