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 { stdenv
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
, wrapQtAppsHook , wrapQtAppsHook
, pkg-config , pkg-config
@ -129,7 +128,7 @@ in stdenv'.mkDerivation (finalAttrs: {
mkdir -p "$out/Applications" mkdir -p "$out/Applications"
mv "$out/mscore.app" "$out/Applications/mscore.app" mv "$out/mscore.app" "$out/Applications/mscore.app"
mkdir -p $out/bin 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. # 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; license = licenses.gpl3Only;
maintainers = with maintainers; [ vandenoever doronbehar ]; maintainers = with maintainers; [ vandenoever doronbehar ];
mainProgram = "mscore"; mainProgram = "mscore";
platforms = platforms.unix;
}; };
}) })