From 6c5bb26e424d542fbf5d8210987954de9934a828 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Tue, 25 Mar 2025 20:13:25 +0100 Subject: [PATCH] avisynthplus: fix plugin loading --- pkgs/by-name/av/avisynthplus/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/av/avisynthplus/package.nix b/pkgs/by-name/av/avisynthplus/package.nix index 5c8c31bba877..1c5bee5f5557 100644 --- a/pkgs/by-name/av/avisynthplus/package.nix +++ b/pkgs/by-name/av/avisynthplus/package.nix @@ -21,6 +21,11 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-M+F7bUSlH6kAyQLCq0RxmaE19RqHPPleTMyRuz5zqPg="; }; + patchPhase = '' + substituteInPlace ./avs_core/avisynth_conf.h.in \ + --replace-fail '@CORE_PLUGIN_INSTALL_PATH@' '/run/current-system/sw/lib' + ''; + buildInputs = [ libdevil soundtouch