ng0 <n...@we.make.ritual.n0.is> writes:

> Thanks, in the new revision of the patch both issues you two found are
> fixed.

> +         (replace 'configure
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let ((out (assoc-ref outputs "out"))
> +                   (ncurses (assoc-ref inputs "ncurses"))
> +                   (openssl (assoc-ref inputs "openssl")))
> +               (setenv "CONFIG_SHELL" (which "bash"))
> +               (zero?
> +                (system* "./configure"
> +                         ;; TODO: find a socks4+5 lib with small size
> +                         ;; (string-append "--with-socks5=" ghc-socks)
> +                         (string-append "--prefix=" out)
> +                         (string-append "--enable-ipv6")
> +                         (string-append "--with-openssl=" openssl)
> +                         (string-append "--with-emacs-meta-keys")))))))))

Why is this needed?  Did you try using #:configure-flags instead of
replacing the configure phase?  You can refer to inputs with
“%build-inputs” there.

~~ Ricardo


Reply via email to