mcelog: fix `--version` output ("unknown" -> "127")

This commit is contained in:
Tobias Geerinckx-Rice 2015-09-29 03:35:55 +02:00
parent d53cb31426
commit 87989f0e2f
1 changed files with 2 additions and 0 deletions

View File

@ -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";