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:
parent
d64fff1fe0
commit
b567d27394
|
@ -125,7 +125,7 @@ in {
|
||||||
(if cfg.scripts == [ ] then
|
(if cfg.scripts == [ ] then
|
||||||
pkgs.mpv
|
pkgs.mpv
|
||||||
else
|
else
|
||||||
pkgs.mpv-with-scripts.override { scripts = cfg.scripts; })
|
pkgs.wrapMpv pkgs.mpv-unwrapped { scripts = cfg.scripts; })
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
(mkIf (cfg.config != { } || cfg.profiles != { }) {
|
(mkIf (cfg.config != { } || cfg.profiles != { }) {
|
||||||
|
|
Loading…
Reference in a new issue