From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8Pd3OxUUbGGAEAEAgWs5BA (envelope-from ) for ; Sun, 17 Oct 2021 14:16:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SmsiNxUUbGEYWgAAB5/wlQ (envelope-from ) for ; Sun, 17 Oct 2021 12:16:21 +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 4459D129D0 for ; Sun, 17 Oct 2021 14:16:21 +0200 (CEST) Received: from localhost ([::1]:55246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mc55P-0003sh-9k for larch@yhetil.org; Sun, 17 Oct 2021 08:16:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mc54b-0003rX-LD for help-guix@gnu.org; Sun, 17 Oct 2021 08:15:29 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:46007) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mc54Z-0002qn-PV for help-guix@gnu.org; Sun, 17 Oct 2021 08:15:29 -0400 Received: by mail-wm1-x335.google.com with SMTP id o24-20020a05600c511800b0030d9da600aeso6058967wms.4 for ; Sun, 17 Oct 2021 05:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version:content-transfer-encoding; bh=6wTaN20hlz0+PHMb2DklhXqmBuQ76b15YeQleRITkXE=; b=woTHWbuJUe2EBrzEvyoNxQrIvt/HGPoD66KDLKciKD82JvA7iJCk2t2W1ZS9N4n2uh WE+SoKTMFZ4c0fqLGvy+MV/dp3tsOs534hO1wTVy0g4/ncZgvN/gX5WjEIkav+su34VV WSlZqJ8ymBvVzZ9XrU0f2Lf+2Y+jCGuPXjv0R8vB08iZwD4m+LnNltSgt2PcSXvCyXfh A2TSg16/eBwR0+HyvngD29+CCnRy/HVdFjyYCwQXyadqV0l5XJz43CRe/ibKNJPzSX4y kRNYOOGsHE4vrEWo63VYcKnCtopXTdqRykJ7KfSi6KAKRKzDun8k05OCEMFbo0wEPjjE RAnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version:content-transfer-encoding; bh=6wTaN20hlz0+PHMb2DklhXqmBuQ76b15YeQleRITkXE=; b=bbGNny3Mcrp4SXUmF4g1eh86PGYgq6pijTNuceIMMODNdQn3guF1iLlIx7Fh7Wuf08 osINtnfxqRuj1b1iEIPTzlNPLHzzshZUfXdzf0Tihb5ALvhW6ORChXQiSvw2bkHVdvTp 1hAhkqkvtu291Zbz09sA8nktb9vcc0A1VsJESXJtvxUKEzQ6t2Fp/hSQ75t4XYu/6aCO HqOMfEg9PCt0tZfePn3VMlY23BQtVeZXu1jjxj+yajq4Z/twfeAR9Z9FbSi4yZTi5Hm9 92yXHgisx4IB42ldL5D32q6x4c6ZJLQsKp3eYh6taBdX67FB5CdUeWA1nkVjPXFnjzfw 9/0g== X-Gm-Message-State: AOAM533YgkfPlo/k/AJDY3Ij6HKa9w5PFoLNVH4397mPBf9lSSxi/qIC RHo0Zf8N1nad0ixXI1x1+GUIpWz2j73RB1SaAFE= X-Google-Smtp-Source: ABdhPJyTB+0MP81PCtvWZhonvYgwaSRQQwpyCApRgPixmb5TBDm+IW6PLYkec34Zud6pOEgzbw+k4w== X-Received: by 2002:a1c:9d50:: with SMTP id g77mr23996918wme.58.1634472926037; Sun, 17 Oct 2021 05:15:26 -0700 (PDT) Received: from xps13 (host-92-10-211-105.as13285.net. [92.10.211.105]) by smtp.gmail.com with ESMTPSA id o12sm9692424wrv.78.2021.10.17.05.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Oct 2021 05:15:25 -0700 (PDT) References: <20211016222911.ex2z4acagxyrgipb@localhost> <87h7dfc1pt.fsf@nckx> User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: Tobias Geerinckx-Rice Subject: Re: GUIX_PACKAGE_PATH doesn't have priority over official guix packages In-reply-to: <87h7dfc1pt.fsf@nckx> Message-ID: <87tuhfc0fc.fsf@beadling.co.uk> Date: Sun, 17 Oct 2021 13:15:20 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2a00:1450:4864:20::335; envelope-from=phil@beadling.co.uk; helo=mail-wm1-x335.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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: , Cc: Tim Lee , help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634472981; 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=6wTaN20hlz0+PHMb2DklhXqmBuQ76b15YeQleRITkXE=; b=eCUS7xcfJozaR1i9kn+O4l2MmIaFT9aJQ1LsL+0axTgJ3DwqJPzKlktLPcakzfS9Tj8qbJ +qSQsIo7HgOkr94QbshNSlUs5ww+ubNyl1gAJj+wPAQ4xqv0SXPLzoiB+6ftFio2Ae1gby napKKpGqiRZC5s7kV/Bn/+xBUC/nT7fF3V1F+1urmfSMdqbh9nRy18HqsC6ZMbRqD7yNWP K5iX8WCFr36eILr1BCnBr4axNUoApPQc+czcpVRuv4k92RQiZsiKm9BQGeKVS4umOKhJG9 k0ceizly03KN1ugpEtJ/+3M90ZQ4MCOKrofvBiamQKk6wqUGcXskav1zx2ltZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634472981; a=rsa-sha256; cv=none; b=Kr3wxjancLX9tOE6sXF0TblVgZ+2Kivfh/Eqyt1h75cGJoXZC+Sq945SXpkxPkocstc+MY BB77/xn9l+GvpPm4coQ0G0U+Wu6P7zdy8I3KO7R5FaW1L6+yCIZMqiYLowGwbzUO5F/xon nEDvHOeWl0F08l16kz0Bs/Hru3hzCwUIY2t4S9egDqo1BAuV+GiOYXItp2skuISOvABF31 y4+16nFoVCrdmsoCfcxqpdRpdt70lKghq5WJKcOZafkqWyNZy0GABPmCp/hw27X4HddYOw CmEARsqgini/wRTb22YI/0LFfue8oB8tMhSX4+JisOM3VtrKOiM0Gw/PgD3Lzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=woTHWbuJ; 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-Spam-Score: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=woTHWbuJ; dmarc=none; 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: 4459D129D0 X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1Yq87y3NIxcB Tobias Geerinckx-Rice writes: > =E2=80=9CAny packages they define will be added to the pool of available > packages. Standard package specification rules apply: when=20 > given a package name without an unambiguous version number, Guix > will always pick the highest version of that package regardless=20 > of where it came from.=E2=80=9D Makes sense to me - only thing I'd add, assuming my analysis is right, I'd highlight that when 2 packages exist with identical verison number, and one package is specified as local (via -L or GUIX_PACKAGE_PATH), that local version is preferred over a git-hosted channel. This has consequences if you want to alter a package locally. Although I'd recommend defining the package to have a different variable name and refer to it using "-e" to make intentions explicit in any command/manifest.