Skip to content

Commit b26abf8

Browse files
committed
linux-manual: call pre / post hooks
1 parent 0f8ba00 commit b26abf8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/li/linux-manual/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ stdenv.mkDerivation {
2121
'';
2222

2323
installPhase = ''
24+
runHook preInstall
25+
2426
export mandir="$out/share/man/man9"
2527
mkdir -p "$mandir"
2628
@@ -34,6 +36,8 @@ stdenv.mkDerivation {
3436
| scripts/split-man.pl "$mandir"' kernel-doc
3537
3638
test -f "$mandir/kmalloc.9"
39+
40+
runHook postInstall
3741
'';
3842

3943
meta = {

0 commit comments

Comments
 (0)