Merge pull request #172017 from WolfangAukang/bashblog-hook-fix

bashblog: add hooks on install phase
This commit is contained in:
Artturi
2022-05-08 06:20:02 +03:00
committed by GitHub
+4
View File
@@ -45,8 +45,12 @@ in stdenv.mkDerivation rec {
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -Dm755 bb.sh $out/bin/bashblog
runHook postInstall
'';
meta = with lib; {