guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing configure flags?


From: Alex Vong
Subject: Re: Removing configure flags?
Date: Tue, 11 Sep 2018 08:04:16 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Danny Milosavljevic <address@hidden> writes:

> Hi,
>
> you can replace the entire "configure" phase.
>
> Search for "replace 'configure" in gnu/packages/*.scm .
>
> You can find the entire block when you search for "--enable-fast-install" 
> comments in gnu/packages/*.scm .
>
You can look at 'zlib' in 'compression.scm' for example.

> It is:
>
>   (arguments
>    `(#:phases
>        (modify-phases %standard-phases
>          (replace 'configure
>            (lambda* (#:key inputs outputs (configure-flags '()) 
> #:allow-other-keys)
>              (apply invoke
>                     `("./configure"
>                       ,(string-append "--prefix=" out)
>                       ,(string-append "--sysconfdir=/etc")
>                       ,@configure-flags))))))

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]