mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 15:17:33 +00:00
mpvScripts.thumbfast: Simplify with lib.getExe
This commit is contained in:
parent
620d5c14da
commit
31e03288b5
@ -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