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,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 New Issue
Block a user