From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IAafJuT9VWNzHgEAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 04:52:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OH+fJuT9VWNwNwEA9RJhRA (envelope-from ) for ; Mon, 24 Oct 2022 04:52:20 +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 A83B02F79C for ; Mon, 24 Oct 2022 04:52:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omkrq-0001PM-IO for larch@yhetil.org; Sun, 23 Oct 2022 19:58:58 -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 1omU0f-00033I-0X for guix-devel@gnu.org; Sun, 23 Oct 2022 01:58:58 -0400 Received: from linode.us-core.com ([2600:3c01::f03c:93ff:fe26:6229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omU0c-0000pq-Gp for guix-devel@gnu.org; Sun, 23 Oct 2022 01:58:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=edOr1Fp0eYtTfx2 TrFzvRkCVuImpK6JcEZd2oL/JZlo=; h=to:subject:date:from:in-reply-to: references; d=lease-up.com; b=ZVkMCPIk5BSyRLpYAI28C3dsGXwn9AoVFGTIXkJO nwVYZdd1IeutLzbhLk7qVhEts/SDBmDQjdpheNCfsNHje4ji7GV8d9nlvwfiNRxLzjg7kK M3esGNmLqZjV2EqozasuWmOBAJetZGDSfcnNV+8jxUniOwAOQZQ2nV0bTfMD0= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id b9a1b84f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 23 Oct 2022 05:58:50 +0000 (UTC) Received: by mail-lf1-f54.google.com with SMTP id b1so11886130lfs.7 for ; Sat, 22 Oct 2022 22:58:47 -0700 (PDT) X-Gm-Message-State: ACrzQf2joyV2C6nfo14uvRe79UfgaAXqTZTfZeK3ncRPvliNSr1fLuqS IREoUMLyZtloxYyBUqsWrse10DCYtYLemr9KjKs= X-Google-Smtp-Source: AMsMyM4tf2NFjDu7sPFnas6ErT+hIXM/p6nYkYo7Nc6FBYJuSU7B1IWy9vEObWjTgRAJr8C2DVcR1OZZ/ohGkkC/2rg= X-Received: by 2002:ac2:44cd:0:b0:4a2:3fcd:c960 with SMTP id d13-20020ac244cd000000b004a23fcdc960mr9879500lfm.590.1666504724781; Sat, 22 Oct 2022 22:58:44 -0700 (PDT) MIME-Version: 1.0 References: <87czam9nxq.fsf@beadling.co.uk> <86r0z11psa.fsf@gmail.com> <87czakdgw5.fsf@beadling.co.uk> In-Reply-To: <87czakdgw5.fsf@beadling.co.uk> Date: Sat, 22 Oct 2022 22:58:08 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Pinning package inputs using inferiors? To: guix-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2600:3c01::f03c:93ff:fe26:6229; envelope-from=felix.lechner@lease-up.com; helo=linode.us-core.com X-Spam_score_int: 16 X-Spam_score: 1.6 X-Spam_bar: + X-Spam_report: (1.6 / 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_SBL_CSS=3.335, RCVD_IN_XBL=0.375, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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" Reply-to: Felix Lechner From: Felix Lechner via "Development of GNU Guix and the GNU System distribution." X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666579940; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=edOr1Fp0eYtTfx2TrFzvRkCVuImpK6JcEZd2oL/JZlo=; b=Wsf/+L5m3pGl0r65YQ7mSl2cME6EfbDviD74aRmXXughKSfYenrTzBH/gvEq4nfyPhDRcv mSSI71fybCN3c9bYPHMIIdiaC8DWbTibvM25t5ZAJUpmcVq/NHYTWZNrdY/sY9sciZOueo yQz9eJsD6Pycdr6rohHNHqAs3yd3HK6d9iDEw4bon2UT9vW4VtmYp3BbYwqMtctW2aVJnH dm22o5DHsW2V2gU3eR02p0N2jpP1RYPLPPsVuG5gNiMtV77D7W3sKYNDoR2zX3YcahE98z cbsDb5typp4OmX0LgKIMBgzFnSmartVOsihmoz/pAi49PRemroH1o+Vg92fwnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666579940; a=rsa-sha256; cv=none; b=Fg6cxPC+ibXZdlaX/XliXCW/PlJkjy9e59yKtRAY+2Bv0VZM4lLQxUXcWLTmusmcrIPx5m eGPz3n6iyb+9jeEIz+jXsT41bYK5WG4t2fUNVap4GbH8AR5L1WKovfb9oJ9SJ8pzfUlF/6 GVuqA015hoIwxWmnkgzYjdfhbSNZtm+j4tEcg/xNJ4P2hvwdagK1vZdw/hf59yByrd/hGE rE0hh1VHtqX65JIZjQrNz6Y9tnVb2b8p5ZhuFhMgUqE000rg9SZcQZPA0L1Cxz/trMibbV gJAydSqo7vu8v+uBn2dZO0dXnYYEfROHXH9QupGvGQRQzO+OvR5IhE9AnWNkkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=ZVkMCPIk; dmarc=pass (policy=none) header.from=gnu.org; 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.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=ZVkMCPIk; dmarc=pass (policy=none) header.from=gnu.org; 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-Queue-Id: A83B02F79C X-Spam-Score: 4.09 X-Migadu-Scanner: scn1.migadu.com X-TUID: uPxzao0ukd14 Hi, On Fri, Oct 21, 2022 at 4:51 PM Phil wrote: > > have the releases available ... > but without ... an obligation on ... applications to adopt > these changes While I am relatively new to functional package management, I find it inconsistent that inputs in Guix are provided by variables. I believe the inputs should be provided by functions that deliver the most suitable version of a package. For most packages, that is the most recent version unless pinned. A package definition would be the list of available versions rather than just one version. One day, those functions could even be combined with importers in the sense that many versions are potentially available. Substitutes would only be produced and served for versions actually used, plus the most recent version. Kind regards Felix Lechner