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";
|
||||
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
||||
|
||||
dpkg-deb -x $src .
|
||||
|
||||
runHook postUnpack
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib
|
||||
cp openwebstart.jar $out/lib/
|
||||
|
||||
|
@ -37,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
mkdir -p $out/share/pixmaps
|
||||
cp App-Icon-512.png $out/share/pixmaps/openwebstart-settings.png
|
||||
cp Icon-512.png $out/share/pixmaps/openwebstart.png
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontBuild = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue