1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

lm-sensors: add documentation

This commit is contained in:
Peter Hoeg 2023-07-16 23:21:48 +08:00
parent 941ae3102b
commit 6a2378058a

View file

@ -48,7 +48,10 @@ stdenv.mkDerivation rec {
# Making regexp to patch-out installing of .so symlinks from Makefile is
# 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*
'';