1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 10:49:48 +01:00

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 != { }) {