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