Merge pull request #266943 from nbraud/mpv/mainProgram
mpv: Set `meta.mainProgram`
This commit is contained in:
commit
ae883a5964
pkgs/applications/video/mpv
@ -256,6 +256,7 @@ in stdenv'.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
changelog = "https://github.com/mpv-player/mpv/releases/tag/v${finalAttrs.version}";
|
||||
license = licenses.gpl2Plus;
|
||||
mainProgram = "mpv";
|
||||
maintainers = with maintainers; [ AndersonTorres fpletz globin ma27 tadeokondrak ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace thumbfast.lua \
|
||||
--replace 'mpv_path = "mpv"' 'mpv_path = "${lib.getBin mpv-unwrapped}/bin/mpv"'
|
||||
--replace 'mpv_path = "mpv"' 'mpv_path = "${lib.getExe mpv-unwrapped}"'
|
||||
'';
|
||||
|
||||
dontBuild = true;
|
||||
|
Loading…
Reference in New Issue
Block a user