Merge pull request #283559 from britter/patch-1
jdt-language-server: Call installlPhase hooks
This commit is contained in:
commit
15633e5097
@ -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 New Issue
Block a user