From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KIjTHIHWX2TCVAAASxT56A (envelope-from ) for ; Sat, 13 May 2023 20:27:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aN61HIHWX2TUUwAAauVa8A (envelope-from ) for ; Sat, 13 May 2023 20:27:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0103226E4B for ; Sat, 13 May 2023 20:27:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxtwy-00029H-58; Sat, 13 May 2023 14:26:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxtwv-00026q-UW; Sat, 13 May 2023 14:26:33 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxtwt-0004ai-7d; Sat, 13 May 2023 14:26:33 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id F01E430CAE58; Sat, 13 May 2023 20:26:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1684002379; bh=M2/4+nT5azxw3ROcTpriiW39gyPkeghl1j/cFXFSWRA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=nz8mHwSK3u+4loC2QoHClXpaL0CGewPJbR8ARpoEreoIAaScXRgRl8R6Q2q1vbVfD 21To7NKDuqwBQ4LthWzzqiWhZgWqDV5BaqZhbu8hCNFjeeI8pzgXWa0aQPql26BknW jWBr3KEwBBuTUwObFTgc4GRGWy3On6WFYpYoO9nATPtmqYp1BqcZNeK0Uo0YLwnkoA h1U7SS2lEazeTS42QB9qeGQRD/Ai0IrsKOGZfZefAXM7Ru7zac4DLxj7dFj5teSO5l nEwiHVVIQrMprZV7vgKtd/ZkMprFiN+yMdC0IKAhV97PtcpkuVCTy/yWnkh49gq93O 8G1Lbka8A4nqA== X-Fuglu-Suspect: 9f2a3490531b42079aa9aa26af2d28c3 X-Fuglu-Spamstatus: NO Received: from webmail.selfhosted.xyz (office.selfhosted.xyz [192.168.1.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA; Sat, 13 May 2023 20:26:13 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sat, 13 May 2023 20:26:13 +0200 From: david larsson To: Sarthak Shah Cc: Guix Devel , =?UTF-8?Q?G=C3=A1bor_Boskovits?= , Pjotr Prins , =?UTF-8?Q?Ludovic_Court=C3=A8s?= , guix-devel-bounces+david.larsson=selfhosted.xyz@gnu.org Subject: Re: Discussion on Parameterized Packages In-Reply-To: References: Message-ID: X-Sender: david.larsson@selfhosted.xyz Received-SPF: pass client-ip=217.64.149.7; envelope-from=david.larsson@selfhosted.xyz; helo=server0.selfhosted.xyz X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684002433; a=rsa-sha256; cv=none; b=ao0Gt8/r4nP9JqKEgp6UhmDh6ehC7t2lxMC7Lqvry/ZLQNmzAy2Tu81rAP8gS4t9PHYYiv hQzkZ8Ymar3RNjCrfWxnAukrvwoUUs8LIKaeuVAXrY9MCiKUnvr9fZfvpJ2dcJ5PH7LOgX Brpm1eYnjsZV52r24Hva/UJGhMfFFmfbh2kNzZfat0kYbQhnB7p60asWRXxBIoDsOWqxfV /t7nlJo8amu4YAGVNVnrbtSyBcScJXsjN1UY7CsWFpjluKe02g6RK5A/kQZVTRs00I6JkD KPWCutDQYcKAG8wjZR91doVeHDReP9IUqYmqy/C8sfocf4nlSkbJJuFo4m18Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=selfhosted.xyz header.s=dkim header.b=nz8mHwSK; dmarc=pass (policy=none) header.from=selfhosted.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684002433; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=M2/4+nT5azxw3ROcTpriiW39gyPkeghl1j/cFXFSWRA=; b=FS7PHOE5OoXOGnN2rXSWvTyspZ7jtwSCEV4vo/2Yee/Uxdz5zibwR5T1owhPLOVOqWGPRc 5dbgC02H5FlJcUFycNrO1Wb8j0vVafkE848QgLqQqgg4ZTUBH3Dfg1kQxZS+SYkHxahjej qS2HRmAlOwIN+7xp+bF4Ls/xgXBwW2T8GjPbQO8DLvRm6l19xbVAKUOxREMUVorgGyJfR7 9YqjGG36FonwFgLK+D0ZMo2NLASc7nS9SIafONE7bcOwCix0ahdwkFuIWFIy5VMjO+2Ms7 xSY0002N/MfloJjPqNKOobVHPYsdNaiEsaz2tSR2LH6ChkXbFISdXYr/2QHNJQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=selfhosted.xyz header.s=dkim header.b=nz8mHwSK; dmarc=pass (policy=none) header.from=selfhosted.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.89 X-Spam-Score: -4.89 X-Migadu-Queue-Id: 0103226E4B X-TUID: Pnud5h113vMB On 2023-05-11 17:08, Sarthak Shah wrote: > Hello Guix! > I'll be working on bringing Parameterized Packages to Guix for GSoC > 2023 under the guidance of Gábor and Pjotr. I've been a Guix user for > a few years now as it works great for Common Lisp and Scheme projects, > and I've always wanted to contribute to it as it has one of the best > codebases I've seen. Parameterized Packages will serve as an awesome > feature that leverages Guix's dedication to ensuring that all packages > can be compiled from source. > Parameterized Packages will introduce functionality similar to > Gentoo's USE flags, making it possible to change compile-time options > for packages. This will provide users with a lot more freedom over > what features they'd like to include or exclude from packages, and > also aid with reducing the size of binaries. > I have provided a detailed outline of parameterized packages and the > proposed user interface for interacting with them (for both users and > maintainers) in this post on my blog: > https://blog.lispy.tech/2023/05/parameterized-packages.html > > I would really appreciate feedback on > > (1) parameters you'd like to see in Guix > > (2) the user interface for searching/installing/packaging with > parameters Im not sure this belongs as a parameter per se, but I would like to see something like a stable "parameter", that only uses stable features and stable versions of packages when applied on an operating system level (which was suggested as being a possible level to apply at in the blog post), thus: "guix build python-SOMEPACKAGE --with-parameter=stable" would recursively use only the stable version of the package, including stable version of the dependencies. If this were a thing, Guix could avoid an LTS version, and just run GuixLTS via package-parameters - which would be, uhm fun, IMO :-) Maybe something to put into package-properties (https://github.com/guix-mirror/guix/blob/270db2a56bc50bcab5739de2c9393644ab65ac6c/guix/packages.scm#L611) Best regards, David