about summary refs log tree commit diff
path: root/pkgs/applications/video/mpv/wrapper.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/mpv/wrapper.nix')
-rw-r--r--pkgs/applications/video/mpv/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/video/mpv/wrapper.nix b/pkgs/applications/video/mpv/wrapper.nix
index 624c06414fd34..53def80e7dab8 100644
--- a/pkgs/applications/video/mpv/wrapper.nix
+++ b/pkgs/applications/video/mpv/wrapper.nix
@@ -9,6 +9,6 @@ symlinkJoin {
 
   postBuild = ''
     wrapProgram $out/bin/mpv \
-      --add-flags "${stdenv.lib.concatMapStringsSep " " (x: "--script=" + x) scripts}"
+      --add-flags "${stdenv.lib.concatMapStringsSep " " (x: "--script=${x}/share/mpv/scripts/${x.scriptName}") scripts}"
   '';
 }