Ricardo Wurmus <rek...@elephly.net> writes:

> 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
>

I can try to put it into configure flags, I wrote it like this because
the README suggested it. I'll send a new patch when I'm done with the
gnurl update.

-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

Reply via email to