From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Parameterized packages Date: Wed, 15 Jan 2020 14:54:25 +0100 Message-ID: References: <87woitz1xx.fsf@gnu.org> <87o945vze5.fsf@nckx> <8736ldq74z.fsf@netris.org> <20190719202906.lbanx5puk7t6q4cr@cf0> <87a7753boq.fsf@ambrevar.xyz> <87h813wah0.fsf@gnu.org> <87v9piut40.fsf@ambrevar.xyz> <87o8v5ukgb.fsf@ambrevar.xyz> <87d0blhr9s.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33283) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irj85-00074f-VZ for guix-devel@gnu.org; Wed, 15 Jan 2020 08:54:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irj84-0008WM-QU for guix-devel@gnu.org; Wed, 15 Jan 2020 08:54:41 -0500 In-Reply-To: <87d0blhr9s.fsf@ambrevar.xyz> 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-mx.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: Guix Devel On Wed, 15 Jan 2020 at 12:51, Pierre Neidhardt wrote: > > zimoun writes: > > > For example, be able to rebuild all the packages with GCC-8.3, or to > > install Python packages with Python 3.5 instead of the current default > > Python 3.7. > > I think this would tackle a different issue. The point of parameters is > to offer _composable_ and _package-specific_ build options to the user. > A build system cannot know what it means to build with Pulseaudio or > without Wayland. I do not see the difference between using specific locale [1] (for a package that does not explicitly depend on glibc) and using a specific version of the "compiler" used by the build system. Maybe I miss the point... [1] https://lists.gnu.org/archive/html/guix-devel/2019-05/msg00285.html > Can't we already do what you are saying by the way? By means of > settings some build-system-specific arguments from fold-package? Everything is doable with Guix. ;-) However, it is not clear to me what is the best/easiest way to go. For example, here [2] I give a try. [2] https://lists.gnu.org/archive/html/help-guix/2020-01/msg00087.html And what I was thinking is a mechanism to easily set some arguments to the build-system; for example changing the compiler toolchain (say replacing GCC by Clang/LLVM). Well, as I said, I do not know if it is related to "parametrized packages" because I am not sure to understand the final aim for these "parametrized packages". :-) All the best, simon