From adf709691910b24775c74b614430709b46ab2fb8 Mon Sep 17 00:00:00 2001 From: K900 Date: Wed, 15 Nov 2023 12:04:45 +0300 Subject: [PATCH] steamdeck-dsp: fix non-existent path references --- pkgs/steamdeck-dsp/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/steamdeck-dsp/default.nix b/pkgs/steamdeck-dsp/default.nix index 8c936af4..dd82bf98 100644 --- a/pkgs/steamdeck-dsp/default.nix +++ b/pkgs/steamdeck-dsp/default.nix @@ -4,6 +4,7 @@ , boost , lv2 , faust2lv2 +, rnnoise-plugin , which }: @@ -27,6 +28,13 @@ stdenv.mkDerivation(finalAttrs: { substituteInPlace Makefile \ --replace /usr/include/boost "${boost.dev}/include/boost" \ --replace /usr/include/lv2 "${lv2.dev}/include/lv2" + + substituteInPlace pipewire-confs/filter-chain-mic.conf \ + --replace "/usr/lib/ladspa/librnnoise_ladspa.so" "${rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so" + + # Stop trying to run `echo`, we don't have it + substituteInPlace ucm2/conf.d/*/*.conf \ + --replace "exec" "# exec" ''; preInstall = ''