diff --git a/pkgs/applications/video/mpv/scripts/buildLua.nix b/pkgs/applications/video/mpv/scripts/buildLua.nix index 822950ffc9b7..b21df5478a3e 100644 --- a/pkgs/applications/video/mpv/scripts/buildLua.nix +++ b/pkgs/applications/video/mpv/scripts/buildLua.nix @@ -81,14 +81,12 @@ lib.makeOverridable ( inherit scriptName; } // lib.optionalAttrs (runtime-dependencies != [ ]) { - extraWrapperArgs = - [ - "--prefix" - "PATH" - ":" - ] - ++ (map lib.makeBinPath runtime-dependencies) - ++ args.passthru.extraWrapperArgs or [ ]; + extraWrapperArgs = [ + "--prefix" + "PATH" + ":" + (lib.makeBinPath runtime-dependencies) + ] ++ args.passthru.extraWrapperArgs or [ ]; }; meta = {