Merge pull request #300553 from wegank/musescore-refactor

musescore: set meta.platforms, fix typo
This commit is contained in:
Pol Dellaiera 2024-04-02 07:12:56 +02:00 committed by GitHub
commit c392daacac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, cmake
, wrapQtAppsHook
, pkg-config
@ -129,7 +128,7 @@ in stdenv'.mkDerivation (finalAttrs: {
mkdir -p "$out/Applications"
mv "$out/mscore.app" "$out/Applications/mscore.app"
mkdir -p $out/bin
ln -s $out/Applications/mscore.app/Contents/MacOS/mscore $out/bin/mscore.
ln -s $out/Applications/mscore.app/Contents/MacOS/mscore $out/bin/mscore
'';
# Don't run bundled upstreams tests, as they require a running X window system.
@ -143,5 +142,6 @@ in stdenv'.mkDerivation (finalAttrs: {
license = licenses.gpl3Only;
maintainers = with maintainers; [ vandenoever doronbehar ];
mainProgram = "mscore";
platforms = platforms.unix;
};
})