mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
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 {
|
||||
name = "mcelog-${version}";
|
||||
@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
|
||||
touch mcelog.conf.5 # avoid regeneration requiring Python
|
||||
|
||||
substituteInPlace Makefile --replace '"unknown"' '"${version}"'
|
||||
|
||||
for i in triggers/*; do
|
||||
substituteInPlace $i --replace 'logger' '${utillinux}/bin/logger'
|
||||
done
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -908,7 +908,9 @@ in
|
||||
|
||||
mstflint = callPackage ../tools/misc/mstflint { };
|
||||
|
||||
mcelog = callPackage ../os-specific/linux/mcelog { };
|
||||
mcelog = callPackage ../os-specific/linux/mcelog {
|
||||
utillinux = utillinuxMinimal;
|
||||
};
|
||||
|
||||
apparix = callPackage ../tools/misc/apparix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user