Commit 31e03288 authored by nicoo's avatar nicoo
Browse files

mpvScripts.thumbfast: Simplify with `lib.getExe`

parent 620d5c14
Loading
Loading
Loading
Loading
+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;