about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2023-12-31 10:40:01 +0100
committerGitHub <noreply@github.com>2023-12-31 10:40:01 +0100
commitb23e2d2aae89a239b9a989acbbabace23774d0bf (patch)
tree9442125b48526c3330856b8dfb75fe38544b4301 /pkgs/applications/video
parentdc867895d0abd1bcf1d0b86ac6e38501a8e872dc (diff)
parentffd4482a7dd54e66a4d14190c56db61edad3c9a9 (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.nix2
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)}