Fixing mcelog, so it puts the proper files in share/doc

It was running "cp mce.pdf $out/share/doc", which created the file 'doc'.
Then buildEnv complained that 'share/doc' exists.
This commit is contained in:
Lluís Batlle i Rossell 2013-01-20 18:51:41 +01:00
parent e185691ced
commit 9c2bc27eb2

View File

@ -25,6 +25,10 @@ in stdenv.mkDerivation {
makeFlags = "prefix=$(out) etcprefix=$(out) DOCDIR=$(out)/share/doc";
preInstall = ''
ensureDir $out/share/doc
'';
meta = {
description = "Tool to display logged machine check exceptions";
homepage = http://mcelog.org/;