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.
This commit is contained in:
Doron Behar 2020-06-11 16:13:51 +03:00 committed by Profpatsch
parent d60b5aaa2f
commit 7be315a842

View File

@ -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