mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
clojure: add missing runHooks
This commit is contained in:
parent
b2ae24cae2
commit
edac254f54
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user