From 22886dce5bf757d9b5050b9afe179d97f5a1bd10 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Mon, 4 Nov 2024 13:31:20 +0000 Subject: [PATCH] home-manager/mpv: refactor vaporsynth usage --- home-manager/desktop/mpv/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/home-manager/desktop/mpv/default.nix b/home-manager/desktop/mpv/default.nix index b20c21d7..3e7775c1 100644 --- a/home-manager/desktop/mpv/default.nix +++ b/home-manager/desktop/mpv/default.nix @@ -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 = {