From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: Removing configure flags? Date: Tue, 11 Sep 2018 08:04:16 +0800 Message-ID: <87musoucfz.fsf@gmail.com> References: <3777480.LYsRssmo1O@aleksandar-ixtreme-m5740> <20180910115729.71291465@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzWJG-0002Ei-Jq for guix-devel@gnu.org; Mon, 10 Sep 2018 20:13:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzWAQ-0005H0-6z for guix-devel@gnu.org; Mon, 10 Sep 2018 20:04:33 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:36542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzWAP-0005ET-V3 for guix-devel@gnu.org; Mon, 10 Sep 2018 20:04:30 -0400 Received: by mail-pg1-x52a.google.com with SMTP id d1-v6so11280561pgo.3 for ; Mon, 10 Sep 2018 17:04:27 -0700 (PDT) In-Reply-To: <20180910115729.71291465@scratchpost.org> (Danny Milosavljevic's message of "Mon, 10 Sep 2018 11:57:29 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: HiPhish Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Danny Milosavljevic 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)))))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSof2ZdXkE0FM5aU4XzrkvbI+zaGwUCW5cGgAAKCRDzrkvbI+za G0WXAQDmPyVFhwA1MhKQluShj6HCA4zHsTsgIPdA2fMJwXEOAAEAq9TKmkI6xPzW EPyzTSjBSfhPVLqpDx/i26ouk8NbMwA= =aJrs -----END PGP SIGNATURE----- --=-=-=--