jnetmap: add missing runHook in installPhase

This commit is contained in:
Bjørn Forsman 2023-01-28 18:56:10 +01:00
parent c0c9af0824
commit 79ff834496

View File

@ -16,12 +16,16 @@ stdenv.mkDerivation rec {
dontUnpack = true;
installPhase = ''
runHook preInstall
mkdir -p "$out/bin"
mkdir -p "$out/lib"
cp "${src}" "$out/lib/jnetmap.jar"
makeWrapper "${jre}/bin/java" "$out/bin/jnetmap" \
--add-flags "-jar \"$out/lib/jnetmap.jar\""
runHook postInstall
'';
meta = with lib; {