diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2023-12-31 10:40:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-31 10:40:01 +0100 |
commit | b23e2d2aae89a239b9a989acbbabace23774d0bf (patch) | |
tree | 9442125b48526c3330856b8dfb75fe38544b4301 /pkgs/applications/video | |
parent | dc867895d0abd1bcf1d0b86ac6e38501a8e872dc (diff) | |
parent | ffd4482a7dd54e66a4d14190c56db61edad3c9a9 (diff) |
Merge pull request #273799 from nbraud/mpvScripts/dirPkg-extension-fix
mpvScripts: Fix remaining issues with `.lua` suffixes and `scriptName`
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mpv/scripts/buildLua.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/video/mpv/scripts/buildLua.nix b/pkgs/applications/video/mpv/scripts/buildLua.nix index 37690d9874300..cb29a4c9d1a99 100644 --- a/pkgs/applications/video/mpv/scripts/buildLua.nix +++ b/pkgs/applications/video/mpv/scripts/buildLua.nix @@ -51,7 +51,7 @@ lib.makeOverridable (args: stdenvNoCC.mkDerivation (extendedBy exit 1 } mkdir -p "${scriptsDir}" - cp -a "${scriptPath}" "${scriptsDir}/${lib.removeSuffix ".lua" scriptName}" + cp -a "${scriptPath}" "${scriptsDir}/${scriptName}" else install -m644 -Dt "${scriptsDir}" \ ${escapedList ([ scriptPath ] ++ extraScripts)} |