mpv: use wrapMpv instead of mpv-with-scripts

The latter has been removed from Nixpkgs.

See:

- <https://github.com/NixOS/nixpkgs/pull/88620>
- <https://github.com/NixOS/nixpkgs/pull/89208>

PR #1295
This commit is contained in:
Nicolas Berbiche 2020-05-31 01:15:23 -04:00 committed by Robert Helgesson
parent d64fff1fe0
commit b567d27394
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -125,7 +125,7 @@ in {
(if cfg.scripts == [ ] then
pkgs.mpv
else
pkgs.mpv-with-scripts.override { scripts = cfg.scripts; })
pkgs.wrapMpv pkgs.mpv-unwrapped { scripts = cfg.scripts; })
];
}
(mkIf (cfg.config != { } || cfg.profiles != { }) {