From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2wfTKUzsxmM5rwAAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 19:43:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eP4AKUzsxmOQXwAAauVa8A (envelope-from ) for ; Tue, 17 Jan 2023 19:43:24 +0100 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 DECDF2DBB0 for ; Tue, 17 Jan 2023 19:42:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHqtd-0000QX-3w; Tue, 17 Jan 2023 13:41:21 -0500 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 1pHqtV-0000HG-Gm for guix-devel@gnu.org; Tue, 17 Jan 2023 13:41:14 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pHqtR-0000TK-Ua; Tue, 17 Jan 2023 13:41:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=R4jVglIx+oC4zx/ QqROEtX7mgQ9e0GaOQT2wen7ZxmE=; h=in-reply-to:date:references:subject: cc:to:from; d=lease-up.com; b=DbIwvhZy1R9kKXDAD1ifPTI5xSfZum2Nr+xi+nPl 1wmt9eUff6PR4+SMbXc5nhqO3WgOYwThCMvkZDK7TcV24z5kFLhAL62F12H7E6LEe7tmpr jxwfPryZVsqYY90McycGEtQgsH4TFuqOCyZTCR4cOBKU71NEekglmwujh3kTg= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id f61100b3 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 17 Jan 2023 18:41:00 +0000 (UTC) To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Simon Tournier , Guix Devel , Lars-Dominik Braun Subject: Re: properties for default version? (was bug#60200: Incompatibilities between gcc-toolchain and R packages) References: <86pmbk3hci.fsf@gmail.com> <87v8l5dtxv.fsf@gnu.org> Date: Tue, 17 Jan 2023 10:41:00 -0800 In-Reply-To: <87v8l5dtxv.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 17 Jan 2023 17:09:16 +0100") Message-ID: <87k01lngw3.fsf@lease-up.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Reply-to: Felix Lechner From: Felix Lechner via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-TUID: 5UXCdyWPW6nr Hi, Ludovic Court=C3=A8s writes: > Thoughts? What if package variables in Guix were functions that accepted an optional argument? Each function could deliver any available version or a default, possibly accompanied by a warning when the wanted version was not available. Kind regards Felix Lechner