mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
lm-sensors: add documentation
This commit is contained in:
parent
941ae3102b
commit
6a2378058a
|
@ -48,7 +48,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# Making regexp to patch-out installing of .so symlinks from Makefile is
|
# Making regexp to patch-out installing of .so symlinks from Makefile is
|
||||||
# complicated, it is easier to remove them post-install.
|
# complicated, it is easier to remove them post-install.
|
||||||
postInstall = lib.optionalString stdenv.hostPlatform.isStatic ''
|
postInstall = ''
|
||||||
|
mkdir -p $out/share/doc/${pname}
|
||||||
|
cp -r configs doc/* $out/share/doc/${pname}
|
||||||
|
'' + lib.optionalString stdenv.hostPlatform.isStatic ''
|
||||||
rm $out/lib/*.so*
|
rm $out/lib/*.so*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue