Skip to content

Commit

Permalink
mpv: replace deprecated mpv-with-scripts module with wrapMpv
Browse files Browse the repository at this point in the history
  • Loading branch information
berbiche committed May 31, 2020
1 parent d64fff1 commit 64fd7ab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

/modules/programs/matplotlib.nix @rprospero

/modules/programs/mpv.nix @tadeokondrak
/modules/programs/mpv.nix @tadeokondrak @berbiche

/modules/programs/noti.nix @marsam

Expand Down
6 changes: 6 additions & 0 deletions modules/lib/maintainers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@
github = "owm111";
githubId = 7798336;
};
berbiche = {
name = "Nicolas Berbiche";
email = "nicolas@normie.dev";
github = "berbiche";
githubId = 20448408;
};
}
4 changes: 2 additions & 2 deletions modules/programs/mpv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 != { }) {
Expand All @@ -139,5 +139,5 @@ in {
})
]);

meta.maintainers = with maintainers; [ tadeokondrak ];
meta.maintainers = [ maintainers.tadeokondrak hm.maintainers.berbiche ];
}

0 comments on commit 64fd7ab

Please sign in to comment.