forked from mirrors/nixpkgs
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:
parent
e185691ced
commit
9c2bc27eb2
|
@ -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/;
|
||||
|
|
Loading…
Reference in a new issue