mcelog: 148 -> 153
This commit is contained in:
parent
00512470ec
commit
354c979ea8
1 changed files with 11 additions and 5 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mcelog-${version}";
|
||||
version = "148";
|
||||
version = "153";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "04mzscvr38r2q9da9wmv3cxb99vrkxks1mzgvwsxk753xan3p42c";
|
||||
rev = "v${version}";
|
||||
repo = "mcelog";
|
||||
owner = "andikleen";
|
||||
owner = "andikleen";
|
||||
repo = "mcelog";
|
||||
rev = "v${version}";
|
||||
sha256 = "1wz55dzqdiam511d6p1958al6vzlhrhs73s7gly0mzm6kpji0gxa";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -28,6 +28,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installFlags = [ "DESTDIR=$(out)" "prefix=" "DOCDIR=/share/doc" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/systemd/system
|
||||
substitute mcelog.service $out/lib/systemd/system/mcelog.service \
|
||||
--replace /usr/sbin $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Log x86 machine checks: memory, IO, and CPU hardware errors";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue