mpvScripts.thumbfast: Simplify with lib.getExe

This commit is contained in:
nicoo 2023-11-12 01:14:42 +00:00
parent 620d5c14da
commit 31e03288b5

View File

@ -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;