Skip to content

Commit

Permalink
home-manager/mpv: refactor vaporsynth usage
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Nov 4, 2024
1 parent ff75c7e commit 22886dc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions home-manager/desktop/mpv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,8 @@ in
package = pkgs.mpv-unwrapped.wrapper {
mpv = pkgs.mpv-unwrapped.override {
vapoursynthSupport = cfg.vapoursynth.enable;
vapoursynth = pkgs.vapoursynth.withPlugins [ pkgs.vapoursynth-mvtools ];
};
extraMakeWrapperArgs = lib.optionals cfg.vapoursynth.enable [
"--prefix"
"LD_LIBRARY_PATH"
":"
"${pkgs.vapoursynth-mvtools}/lib/vapoursynth"
];
};

config = {
Expand Down

0 comments on commit 22886dc

Please sign in to comment.