nix-direnv: add preInstall/postInstall hooks
This commit is contained in:
parent
d531e72397
commit
9d405dd370
1 changed files with 2 additions and 0 deletions
|
@ -21,7 +21,9 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -m500 -D direnvrc $out/share/nix-direnv/direnvrc
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue