diff options
author | Benedikt Ritter <beneritter@gmail.com> | 2024-01-24 19:33:55 +0100 |
---|---|---|
committer | Benedikt Ritter <beneritter@gmail.com> | 2024-01-25 19:50:35 +0100 |
commit | f788080e0481f0df90c1592f4b973d786afd3335 (patch) | |
tree | 41353aee0b319bf608d1157f7bebefed4af53082 /pkgs/by-name/jd | |
parent | 2047e2ce33c6c14921df01a3d71e9faee80e2017 (diff) |
jdt-language-server: Call installlPhase hooks
This makes it easier to customize the derivation via overrides.
Diffstat (limited to 'pkgs/by-name/jd')
-rw-r--r-- | pkgs/by-name/jd/jdt-language-server/package.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/by-name/jd/jdt-language-server/package.nix b/pkgs/by-name/jd/jdt-language-server/package.nix index 2e25aa24f7898..04376d201722d 100644 --- a/pkgs/by-name/jd/jdt-language-server/package.nix +++ b/pkgs/by-name/jd/jdt-language-server/package.nix @@ -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; |