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 ];
in
''
runHook preInstall
clojure_lib_dir=$out
bin_dir=$out/bin
@ -39,6 +41,8 @@ stdenv.mkDerivation rec {
wrapProgram $bin_dir/clj --prefix PATH : $out/bin:${binPath}
installManPage clj.1 clojure.1
runHook postInstall
'';
doInstallCheck = true;