fix(openwebstart): run hooks
All checks were successful
Build packages / Build derivations (push) Successful in 1m38s
All checks were successful
Build packages / Build derivations (push) Successful in 1m38s
This commit is contained in:
parent
71a04cb974
commit
d8ae637d5f
1 changed files with 8 additions and 0 deletions
|
@ -21,10 +21,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
sourceRoot = "opt/OpenWebStart";
|
sourceRoot = "opt/OpenWebStart";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
|
runHook preUnpack
|
||||||
|
|
||||||
dpkg-deb -x $src .
|
dpkg-deb -x $src .
|
||||||
|
|
||||||
|
runHook postUnpack
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
cp openwebstart.jar $out/lib/
|
cp openwebstart.jar $out/lib/
|
||||||
|
|
||||||
|
@ -37,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
mkdir -p $out/share/pixmaps
|
mkdir -p $out/share/pixmaps
|
||||||
cp App-Icon-512.png $out/share/pixmaps/openwebstart-settings.png
|
cp App-Icon-512.png $out/share/pixmaps/openwebstart-settings.png
|
||||||
cp Icon-512.png $out/share/pixmaps/openwebstart.png
|
cp Icon-512.png $out/share/pixmaps/openwebstart.png
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue