diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 80afd11d3d..7736945fa9 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -225,12 +225,12 @@ (define-public bitlbee-discord (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'autogen + (add-after 'unpack 'patch-autogen (lambda _ (let ((sh (which "sh"))) (substitute* "autogen.sh" (("/bin/sh") sh)) - (setenv "CONFIG_SHELL" sh) - (zero? (system* "./autogen.sh"))))) + (setenv "CONFIG_SHELL" sh)) + #t)) (replace 'configure (lambda* (#:key inputs outputs #:allow-other-keys) (invoke "./configure"