mcelog: fix `--version` output ("unknown" -> "127")
This commit is contained in:
parent
d53cb31426
commit
87989f0e2f
|
@ -16,6 +16,8 @@ stdenv.mkDerivation {
|
|||
substituteInPlace $i --replace /etc $out/etc
|
||||
done
|
||||
touch mcelog.conf.5 # avoid regeneration requiring Python
|
||||
|
||||
substituteInPlace Makefile --replace '"unknown"' '"${version}"'
|
||||
'';
|
||||
|
||||
installFlags = "DESTDIR=$(out) prefix= DOCDIR=/share/doc";
|
||||
|
|
Loading…
Reference in New Issue