jdt-language-server: Call installlPhase hooks
This makes it easier to customize the derivation via overrides.
This commit is contained in:
parent
2047e2ce33
commit
f788080e04
1 changed files with 4 additions and 0 deletions
|
@ -41,11 +41,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
configDir = if stdenv.isDarwin then "config_mac" else "config_linux";
|
||||
in
|
||||
''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm444 -t $out/share/java/jdtls/plugins/ plugins/*
|
||||
install -Dm444 -t $out/share/java/jdtls/features/ features/*
|
||||
install -Dm444 -t $out/share/java/jdtls/${configDir} ${configDir}/*
|
||||
install -Dm555 -t $out/bin bin/jdtls
|
||||
install -Dm444 -t $out/bin bin/jdtls.py
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
|
Loading…
Reference in a new issue