clojure: add missing runHooks

This commit is contained in:
Thiago Kenji Okada 2021-02-12 14:41:33 -03:00
parent b2ae24cae2
commit edac254f54

View File

@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
binPath = lib.makeBinPath [ rlwrap jdk ]; binPath = lib.makeBinPath [ rlwrap jdk ];
in in
'' ''
runHook preInstall
clojure_lib_dir=$out clojure_lib_dir=$out
bin_dir=$out/bin bin_dir=$out/bin
@ -39,6 +41,8 @@ stdenv.mkDerivation rec {
wrapProgram $bin_dir/clj --prefix PATH : $out/bin:${binPath} wrapProgram $bin_dir/clj --prefix PATH : $out/bin:${binPath}
installManPage clj.1 clojure.1 installManPage clj.1 clojure.1
runHook postInstall
''; '';
doInstallCheck = true; doInstallCheck = true;