From 3e57f19d6081e13bc6fd4ddc4a5bb6b64a081e4d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Fri, 21 Nov 2025 12:58:53 +0100 Subject: [PATCH] alsa-utils: fix PATH for alsa-info The script wants to use the 'tree' command and requires 'amixer' to run at all, which comes from the package itself. --- pkgs/by-name/al/alsa-utils/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/al/alsa-utils/package.nix b/pkgs/by-name/al/alsa-utils/package.nix index d9d0c959583e..b137ca9c9aee 100644 --- a/pkgs/by-name/al/alsa-utils/package.nix +++ b/pkgs/by-name/al/alsa-utils/package.nix @@ -12,6 +12,7 @@ libsamplerate, pciutils, procps, + tree, which, fftw, pipewire, @@ -64,8 +65,9 @@ stdenv.mkDerivation (finalAttrs: { which pciutils procps + tree ] - }" + }" --prefix PATH : $out/bin for program in $out/bin/*; do wrapProgram "$program" --set-default ALSA_PLUGIN_DIR "${plugin-dir}" done