alsa-tools: add psmisc as dependency for hdajackretask
This commit is contained in:
parent
0292524e08
commit
e909d72f7f
1 changed files with 13 additions and 0 deletions
|
@ -5,7 +5,9 @@
|
|||
, fltk13
|
||||
, gtk2
|
||||
, gtk3
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, psmisc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -18,6 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
|
@ -26,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
fltk13
|
||||
gtk2
|
||||
gtk3
|
||||
psmisc
|
||||
];
|
||||
|
||||
env.TOOLSET = lib.concatStringsSep " " [
|
||||
|
@ -91,6 +95,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
fixupPhase = ''
|
||||
runHook preFixup
|
||||
|
||||
wrapProgram $out/bin/hdajackretask \
|
||||
--prefix PATH : ${lib.makeBinPath [ psmisc ]}
|
||||
|
||||
runHook postFixup
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.alsa-project.org/";
|
||||
description = "ALSA Tools";
|
||||
|
|
Loading…
Reference in a new issue