From 7be315a842b3980a36b757bdfdc53365fa924e1f Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 11 Jun 2020 16:13:51 +0300 Subject: mpv-with-scripts: revive in aliases along with a warning To prevent a breaking change while providing fully backwards compatible interface to mpv-with-scripts, this replaces the harsh error using `mpv-with-scripts` had. --- pkgs/top-level/aliases.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/top-level') diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 03b03ff2a842..b647face3903 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -309,7 +309,9 @@ 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 + mpv-with-scripts = lib.warn "Use wrapMpv for editing the environment of mpv" ( + self.wrapMpv self.mpv-unwrapped { } + ); # added 2020-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