From f93918bdc387d353285f458c06c6a111ae90b7b2 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 22 May 2020 20:27:38 +0300 Subject: mpv: Move all wrappings to a single wrapper Nix function Inspired by `wrapNeovim`, write a wrapMpv Nix function that creates a derivation that has all of the environment that was added if needed at the unwrapped version. Add derivations to all-packages.nix in an almost compatible way and make `mpv-with-scripts` throw a message implying to switch to `wrapMpv` which has an incompatible signature. Add to vapoursynth a new passthru attribute `python3` that is used in passed down to the wrapper to ensure ABI compatibility with `PYTHONPATH`. --- pkgs/top-level/aliases.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/top-level/aliases.nix') diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 1ef754ccba00..f19c73181721 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -302,6 +302,7 @@ mapAliases ({ msf = metasploit; # added 2018-04-25 libmsgpack = msgpack; # added 2018-08-17 mssys = ms-sys; # added 2015-12-13 + mpv-with-scripts = throw "Use wrapMpv for editing the environment of mpv"; # added 2012-05-22 multipath_tools = multipath-tools; # added 2016-01-21 mupen64plus1_5 = mupen64plus; # added 2016-02-12 mysqlWorkbench = mysql-workbench; # added 2017-01-19 -- cgit 1.4.1