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.
This commit is contained in:
Stefan Frijters
2025-11-21 12:59:50 +01:00
parent 9e9486e219
commit 3e57f19d60
+3 -1
View File
@@ -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