mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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,9 +25,13 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
makeFlags = "prefix=$(out) etcprefix=$(out) DOCDIR=$(out)/share/doc";
|
makeFlags = "prefix=$(out) etcprefix=$(out) DOCDIR=$(out)/share/doc";
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
ensureDir $out/share/doc
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tool to display logged machine check exceptions";
|
description = "Tool to display logged machine check exceptions";
|
||||||
homepage = http://mcelog.org/;
|
homepage = http://mcelog.org/;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user