mcelog: add utillinux as dependency
Fixes this: $ sudo mcelog ... unknown-error-trigger: line 21: logger: command not found unknown-error-trigger: line 22: logger: command not found
This commit is contained in:
parent
28e378d462
commit
2bf421d197
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub }:
|
{ stdenv, fetchFromGitHub, utillinux }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mcelog-${version}";
|
name = "mcelog-${version}";
|
||||||
@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
|
|||||||
touch mcelog.conf.5 # avoid regeneration requiring Python
|
touch mcelog.conf.5 # avoid regeneration requiring Python
|
||||||
|
|
||||||
substituteInPlace Makefile --replace '"unknown"' '"${version}"'
|
substituteInPlace Makefile --replace '"unknown"' '"${version}"'
|
||||||
|
|
||||||
|
for i in triggers/*; do
|
||||||
|
substituteInPlace $i --replace 'logger' '${utillinux}/bin/logger'
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -908,7 +908,9 @@ in
|
|||||||
|
|
||||||
mstflint = callPackage ../tools/misc/mstflint { };
|
mstflint = callPackage ../tools/misc/mstflint { };
|
||||||
|
|
||||||
mcelog = callPackage ../os-specific/linux/mcelog { };
|
mcelog = callPackage ../os-specific/linux/mcelog {
|
||||||
|
utillinux = utillinuxMinimal;
|
||||||
|
};
|
||||||
|
|
||||||
apparix = callPackage ../tools/misc/apparix { };
|
apparix = callPackage ../tools/misc/apparix { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user