addressing remarks from @peterhoeg ( thinkfan: 0.9.3 -> 1.0.2)

openssl
Christine Koppelt 3 years ago
parent 3966d0d300
commit e00ce8c983
  1. 4
      pkgs/tools/system/thinkfan/default.nix

@ -22,12 +22,16 @@ stdenv.mkDerivation rec {
buildInputs = [ libyamlcpp ] ++ stdenv.lib.optional smartSupport libatasmart;
installPhase = ''
runHook preInstall
install -Dm755 {.,$out/bin}/thinkfan
cd "$NIX_BUILD_TOP"; cd "$sourceRoot" # attempt to be a bit robust
install -Dm644 {.,$out/share/doc/thinkfan}/README
cp -R examples $out/share/doc/thinkfan
install -Dm644 {src,$out/share/man/man1}/thinkfan.1
runHook postInstall
'';
meta = with stdenv.lib; {

Loading…
Cancel
Save