From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 3O36BDKCB2DlCAAA0tVLHw (envelope-from ) for ; Wed, 20 Jan 2021 01:06:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MOhVADKCB2BXWwAAB5/wlQ (envelope-from ) for ; Wed, 20 Jan 2021 01:06:58 +0000 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 0E6F29402D6 for ; Wed, 20 Jan 2021 01:06:57 +0000 (UTC) Received: from localhost ([::1]:58884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l21xW-0005jl-HH for larch@yhetil.org; Tue, 19 Jan 2021 20:06:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l21x9-0005iC-PO for help-guix@gnu.org; Tue, 19 Jan 2021 20:06:32 -0500 Received: from mx1.dismail.de ([78.46.223.134]:40655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l21x6-0008P4-9h for help-guix@gnu.org; Tue, 19 Jan 2021 20:06:31 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 001dd98e for ; Wed, 20 Jan 2021 02:06:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to; s=20190914; bh=4L5PEGpeXXvbneSJzi6kutbO0 iZ/8njUhHgMxkn+NN4=; b=tvkLj4kJhSd0Lh4WmZymMD+BbvHryMChDnAxaoULb n52fG7Pk12Zm+T8cxz2px51CKeQaLnW/tXOAMQbW6UzXlIgxZNCstVyGvVA55xtH Nt7Wa9zP8qiNcZ9oN8xfIE15vOOO7SgMVAzKB0Zj/5lXCEpHSq/joCFwDWC6wyNw AtVQ7P8JxfAqU7MmTeZP/OPL4Gb8/TkQVfx2Rh6QepKZINWtTwyIIRcGijNgdyfR UJNKzdMfYk/JsAwIbAHmAo/lKEffIGG762hQGvheTyap2/bUFlFP7G+kDwADzq7q jSHiZ8b3tH/qOhYzulIAWsqgtUFr65y2ASdlifPLIWeMQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 3d2a769b for ; Wed, 20 Jan 2021 02:06:24 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id ac1d6046 for ; Wed, 20 Jan 2021 02:06:24 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id d5b3dd2d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Wed, 20 Jan 2021 02:06:23 +0100 (CET) MIME-Version: 1.0 Date: Wed, 20 Jan 2021 01:06:23 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.14.0a From: "jgart" Message-ID: <3485ac04e472c86d64faf3a0e2c6e453@dismail.de> Subject: Gentoo like use-flags implemented as an experimental guix third-party lib? To: help-guix@gnu.org Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=tvkLj4kJ; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 0E6F29402D6 X-Spam-Score: -2.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: JKolHTcSeWEr Hi Guix! I have a proposal:=0A=0AIt would be cool to offer gentoo like us= e-flags for guix as a third-party guix library.=0A=0ASee here for attempt= s in nixpkgs to get something similar upstream:=0A=0Ahttps://github.com/N= ixOS/nixpkgs/issues/12877=0A=0Ahttps://discourse.nixos.org/t/gentoo-like-= use-flags/2210=0A=0AI think this would be a perfect use case to put in pr= actice the guix thesis and to showcase the freedom of extensibility it of= fers users without disrupting upstream project directions. For example, t= he guix-use-flags library could be offered in a guix channel.=0A=0Aguix-u= se-flags would allow users to add global filters to packages triggering r= ebuilds under those filters (e.g. disable sound, disable gui/xorg across = all packages, etc...)=0A=0AUSE=3D"ldap mbox sasl imap apache2 -png -jpeg = -X -kde -gnome -gtk -gtk2 -gif -qt -opengl php -truetype"=0A=0Awould tran= slate to a guix api as:=0A=0A(use-flags '(ldap mbox sasl imap apache2 -pn= g -jpeg -X -kde -gnome -gtk -gtk2 -gif -qt -opengl php -truetype))=0A=0AI= imagine this can be a global configuration setting that could be impleme= nted via macros to rewrite (package ... '(#:configure-flags ... with the = appropriate flags across all stated packages in a system configuration.= =0A=0AI think this would be especially useful for configuring guix system= servers.=0A=0AWhat are your thoughts on this? Is there an alternative wa= y to do what I have described above that I am not thinking of?