1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

mlmmj: add docfiles to output

This commit is contained in:
Profpatsch 2017-03-15 17:35:50 +01:00
parent 6da60bb101
commit 92bb91f72f

View file

@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
sha256 = "18n7b41nfdj7acvmqzkkz984d26xvz14xk8kmrnzv23dkda364m0";
};
postInstall = ''
# grab all documentation files
docfiles=$(find -maxdepth 1 -name "[[:upper:]][[:upper:]]*")
install -vDm 644 -t $out/share/doc/mlmmj/ $docfiles
'';
meta = with stdenv.lib; {
homepage = http://mlmmj.org;
description = "Mailing List Management Made Joyful";
@ -18,4 +24,4 @@ stdenv.mkDerivation rec {
license = licenses.mit;
};
}
}