hqplayer-desktop: run pre/postInstall hooks

This commit is contained in:
Bernardo Meurer 2021-06-16 13:44:27 -07:00
parent 816d212fa2
commit 5117c97a5a
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -47,6 +47,8 @@ mkDerivation rec {
dontBuild = true;
installPhase = ''
runHook preInstall
# main executable
mkdir -p $out/bin
cp ./usr/bin/* $out/bin
@ -62,6 +64,8 @@ mkDerivation rec {
# pixmaps
mkdir -p $out/share/pixmaps
cp ./usr/share/pixmaps/* $out/share/pixmaps
runHook postInstall
'';
postInstall = ''