Unverified Commit ae883a59 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

Merge pull request #266943 from nbraud/mpv/mainProgram

mpv: Set `meta.mainProgram`
parents 1e47c87f 31e03288
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
  };
+1 −1
Original line number Diff line number Diff line
@@ -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;