inspircd: run configure phase hooks

This commit is contained in:
sternenseemann
2021-05-14 23:02:20 +02:00
committed by Profpatsch
parent abe7335e7e
commit 104af4aafa
+4
View File
@@ -160,6 +160,8 @@ stdenv.mkDerivation rec {
buildInputs = extraInputs; buildInputs = extraInputs;
configurePhase = '' configurePhase = ''
runHook preConfigure
patchShebangs configure make/*.pl patchShebangs configure make/*.pl
# configure is executed twice, once to set the extras # configure is executed twice, once to set the extras
@@ -183,6 +185,8 @@ stdenv.mkDerivation rec {
--module-dir ${placeholder "lib"}/lib/inspircd \ --module-dir ${placeholder "lib"}/lib/inspircd \
--runtime-dir /var/run \ --runtime-dir /var/run \
--script-dir ${placeholder "bin"}/share/inspircd \ --script-dir ${placeholder "bin"}/share/inspircd \
runHook postConfigure
''; '';
postInstall = '' postInstall = ''