Run pre/post install hooks

This commit is contained in:
Bouke van der Bijl
2022-12-21 17:01:04 +01:00
parent 7653e724f3
commit 2be856791f
2 changed files with 8 additions and 0 deletions

View File

@@ -11,8 +11,12 @@ let
inherit version;
installPhase = ''
runHook preInstall
mkdir -p "$out/libraries/$pname"
cp -R * "$out/libraries/$pname/"
runHook postInstall
'';
nativeBuildInputs = [ pkgs.unzip ];
src = fetchurl ({