jnetmap: add missing runHook in installPhase
This commit is contained in:
parent
c0c9af0824
commit
79ff834496
|
@ -16,12 +16,16 @@ stdenv.mkDerivation rec {
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
mkdir -p "$out/lib"
|
mkdir -p "$out/lib"
|
||||||
|
|
||||||
cp "${src}" "$out/lib/jnetmap.jar"
|
cp "${src}" "$out/lib/jnetmap.jar"
|
||||||
makeWrapper "${jre}/bin/java" "$out/bin/jnetmap" \
|
makeWrapper "${jre}/bin/java" "$out/bin/jnetmap" \
|
||||||
--add-flags "-jar \"$out/lib/jnetmap.jar\""
|
--add-flags "-jar \"$out/lib/jnetmap.jar\""
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue