addressing remarks from @peterhoeg ( thinkfan: 0.9.3 -> 1.0.2)
This commit is contained in:
parent
3966d0d300
commit
e00ce8c983
@ -22,12 +22,16 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ libyamlcpp ] ++ stdenv.lib.optional smartSupport libatasmart;
|
buildInputs = [ libyamlcpp ] ++ stdenv.lib.optional smartSupport libatasmart;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
install -Dm755 {.,$out/bin}/thinkfan
|
install -Dm755 {.,$out/bin}/thinkfan
|
||||||
|
|
||||||
cd "$NIX_BUILD_TOP"; cd "$sourceRoot" # attempt to be a bit robust
|
cd "$NIX_BUILD_TOP"; cd "$sourceRoot" # attempt to be a bit robust
|
||||||
install -Dm644 {.,$out/share/doc/thinkfan}/README
|
install -Dm644 {.,$out/share/doc/thinkfan}/README
|
||||||
cp -R examples $out/share/doc/thinkfan
|
cp -R examples $out/share/doc/thinkfan
|
||||||
install -Dm644 {src,$out/share/man/man1}/thinkfan.1
|
install -Dm644 {src,$out/share/man/man1}/thinkfan.1
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user