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 GL2VCG17bWGxVgEAgWs5BA (envelope-from ) for ; Mon, 18 Oct 2021 15:49:33 +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 qMFVBG17bWFlYAAAB5/wlQ (envelope-from ) for ; Mon, 18 Oct 2021 13:49:33 +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 384AD36D64 for ; Mon, 18 Oct 2021 15:49:32 +0200 (CEST) Received: from localhost ([::1]:52404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcT18-00024N-5t for larch@yhetil.org; Mon, 18 Oct 2021 09:49:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcT0t-00023G-Fz for help-guix@gnu.org; Mon, 18 Oct 2021 09:49:15 -0400 Received: from dog.elm.relay.mailchannels.net ([23.83.212.48]:58194) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcT0q-0001ZZ-L4 for help-guix@gnu.org; Mon, 18 Oct 2021 09:49:14 -0400 X-Sender-Id: instrampxe0y3a|x-authuser|paul@teulu.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E99C8922137 for ; Mon, 18 Oct 2021 13:48:27 +0000 (UTC) Received: from cpanel-008-lon.hostingww.com (unknown [127.0.0.6]) (Authenticated sender: instrampxe0y3a) by relay.mailchannels.net (Postfix) with ESMTPA id 1553992211B for ; Mon, 18 Oct 2021 13:48:26 +0000 (UTC) X-Sender-Id: instrampxe0y3a|x-authuser|paul@teulu.org Received: from cpanel-008-lon.hostingww.com ([TEMPUNAVAIL]. [35.177.91.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.100.96.88 (trex/6.4.3); Mon, 18 Oct 2021 13:48:27 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: instrampxe0y3a|x-authuser|paul@teulu.org X-MailChannels-Auth-Id: instrampxe0y3a X-Arch-Versed: 5c2cdc69299f79c6_1634564907733_1972343902 X-MC-Loop-Signature: 1634564907732:2623249856 X-MC-Ingress-Time: 1634564907732 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=teulu.org; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:Subject:From:References:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=740EcL14A/ls8gn83+HrbA9Gq0hk8L+FSBwXHOCYUtA=; b=Uk9lffe1gJL3gRlVxI397ZZzbw /DPUL3i5kTsMvcj0qw+1OZU/+onR8TeUduA2BrJPlx+nobbSdTRLI5i5aBSMITzvDcbn1qQxzokbC QcvEWc2FpnF0X4Ji/BEC84vXGnwuhzX08Poe3BiYD/UZJIBjSzrDWJyVimughS1ONRg9LX7RruzWY 4WW9VTdUGh3sgE5RbD6wCzd4HwGRzJrxSEVJ0z6w4WDjIB/MruEui58E+wu8042pPyZt9OtkbwiqO JDvGJ0TqabcGK7osNX43ielfBOoi+6SpMPbW0VXFH91Uf0ALp+6bpy8Be7OpWg1c9Y7TK27Qi5OJz /zg5zyzQ==; Received: from 67.26.169.217.in-addr.arpa ([217.169.26.67]:62652 helo=[192.168.1.161]) by cpanel-008-lon.hostingww.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mcT01-0000tx-Kv for help-guix@gnu.org; Tue, 19 Oct 2021 00:48:25 +1100 To: help-guix@gnu.org References: <20211016084557.5quqd43ql4sckze4@localhost> From: Paul Jewell Autocrypt: addr=paul@teulu.org; keydata= xsBNBEuc1IEBCACmlXJFdHAi2RTv2gtzh+mm9QSG9PaybSazGe4zJwutLW0CHEjvsiClv4SE L4B89WAcvFCwooLI1Tii6xJzH3MWGnn+KtO35kIHqwIzaDLP6d8D7RO6SoVQHSWORmtN1TrW mIh2DlDAUZMLyHu1j75DXcq/4y2Z2H4N6DJf4xZ7G3WtLiL3u3ObBL9MdKNrAhXKXiwtS2DE haXPNy/Ps84XEv7BWFfLocB1gkJOQjdZFanlaIoyk3fxs1dfXVNhSr+sXSJNop+blLArr1M1 88Lslv7B3JLKz1g6sRMptsuLwz1f5AjHGrtRLDWg9o59oh4pVqZJensRAsWEn9jIOYuhABEB AAHNHFBhdWwgSmV3ZWxsIDxwYXVsQHRldWx1Lm9yZz7CwHgEEwECACICGyMGCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheABQJVKrArAAoJELnDojIMFq8vf6UIAJI5xKbnnkAFhrxXXvhsWO/a HvGMhmk5oNDC3+LB9Xh81VPrvJyokurcrIp0NicZX0NF0xwBdFRV359fVHESFCFw3vZKSqkx DZnD624wsI4RE+KXlGubzy/ei9J9yjCUR9ZVfw7NWt6rKQAh8kpUcFDwmGJGKaht90v7Ykia +2W7ROHhbfUcj9l3+v6nTG1+HFZfNobwYj+rkrJdH9EUJFUnj+HlxoOq2gCiJlLaAq5BdUQL VUB8MYF26Tu7wqBYCdi4WAVbqH3Y6Q+422J1ZeFltKIFiQ+Tqf9J7J4XJlAJGsrPoXqnWFqV bdAuLFR+g6Nr7KBA2EK+2cuquF+KfsnOwE0ES5zUgQEIAKOdDfpiNg1rGb1rUBEA7sbq/nFj MRY4Y3vH/3NT+vUkMc3iam6Wr4lpvMTeB6Du6LLcEGKmQtCXMhF+WnlbM4w1rc9Z/MQbvG2N QKdJzYutOzeoblwU9Es+280AtxQ4aQuwZl2lCK9TWnplil3jgpVFdO4EbDWhiASz5s1mmNuq uzR+oBKfWwOlNFWgmY5yGvRmKg1D4uB8PWaPLO8sKurTCmutXD4AnQjcUBi5UMF1CFUFM5rH Z3NJVuaRVTHYE1DvNmm9Xu4wf79Xl0Hpe4+ZRxd9EZaBd6VmjfkwYsN8J0jxBk6GTjABVUeo uwO9+Y8g7l7ogADhl7yN912XEYkAEQEAAcLAXwQYAQIACQIbDAUCVSqwKwAKCRC5w6IyDBav L3kzCACNQz2b5okHg+HcQheZprDebsrOwL3xlbKSS8MKOTRe+x6y8NC0vOpZyqXg0NusOMJQ 7cdUqcQzmMqU+w9mSO66wnRMQx1A3eo56ashbF+m9R56u1bC4voXH/oO0OxG6jXKbllz9Rh5 miCGuK4UsoNI8dnb4NuYTuCbiiq/5Rg/HwqbkNLX9XT4gmygqTBoGjkGYhQb3ljivndwCUQq yeTe7Fp6JKd8Pza7K/d7aDPwBlpHyxfuRAxa1RxfuqEZBbAvNpzRdVCr+K+ZsFszB8M62emx /zZv8kROGOCgLvzyFYO/9c+SqnAumcxNp95/CqaRzjLpf2GJsJhtWiH1eUNs Subject: Re: GUIX_PACKAGE_PATH doesn't have priority over official guix packages Message-ID: <5bab993d-506e-962d-bd87-18db6b4e0db5@teulu.org> Date: Mon, 18 Oct 2021 14:48:20 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-GB X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: paul@teulu.org Received-SPF: softfail client-ip=23.83.212.48; envelope-from=paul@teulu.org; helo=dog.elm.relay.mailchannels.net X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634564972; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:autocrypt:autocrypt; bh=740EcL14A/ls8gn83+HrbA9Gq0hk8L+FSBwXHOCYUtA=; b=TNe0rw3bwG3v8bYqwQp9cFWWwleQpHLDuIMKwbKRBMpCAWBHiRBQOMZkcJCar83fW4V3Uv X/PpPD4eDpHx+aJjoXbfM4WYyLDuZh1f7U3dXrsIu82RFQ7nz4FL400T82h0g3Dut02x9Y mz9Ca4yK+AtvZPcErZ1f3gSVOumrSJGVjYTQg1FQVkcIRIv3LEYbA2i1KBHsf7Ob3gQG0B SnpKN4Ho542/HMttxsk+FFP8b82AMWRfibhvrQj6tzeKucgrIlBfT6LoGgYYPpTf9koPiE BFLTuvSNpMxaCGzVryuPHvf4IEBnfzU+8FOSYZls/Uyh+VtlKg+dk7tbDrAd0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634564972; a=rsa-sha256; cv=none; b=Tg0vsi7gYkoHoOBJIivvqLlNp43vSiZsVNAnQ2Vznm9QvqvfXlpPfEb3S2EwtYI187fI0d hxmo5KQ6agebQthcJrlokzCKEXKtHNo3XuAtJddfaQhlVc3NmBf3SVZ72sjPKw3AOWW+ys nir8n7K2GseP4lDnSAWkBIvZKKUf8Hga8FuhN9I/+YnJJM1bpccCCW3/Sjx7ItIFUiIuLe 040d2AMpJRARVk/LOG8XeN6RnnBzGluxM9zp45PdI2s5O/bPU9pA52ygL5nSK3v2eeR8uX CgH9pMI669Vn+2+YJtMDEaNfTI0MVnKWxeJT9J2KAsQ8bJy2pFaA6+41hOHBVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=teulu.org header.s=default header.b=Uk9lffe1; 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: -1.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=teulu.org header.s=default header.b=Uk9lffe1; 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: 384AD36D64 X-Spam-Score: -1.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: bIXQyI338EXy Just a small thought: On 16/10/2021 22:03, Phil Beadling wrote: > As far as I can see, Guix will always prefer the highest version number= > irrspective of which channel is sources it from. >> However, if there is a package with the same name in both my channel a= nd >> in the official guix channel, 'guix install' will install from the >> official guix channel instead of my channel. Is this supposed to happe= n? >> I thought that GUIX_PACKAGE_PATH is supposed to have priority over >> the official guix channel? >> >> I am currently working around this problem by specifying the version >> number when installing. For example: >> >> $ GUIX_PACKAGE_PATH=3D. guix install 'mypackage@1.2.3' This is a similar situation you see in the gentoo world with an overlay=20 (similar to non core channel) containing an ebuild (package definition)=20 for a package which also exists in the main repo. The highest version=20 number will be selected by default, regardless of the ebuild location.=20 The solution there is to allow the overlay source to be included in the=20 package definition: emerge -av my-package::my-overlay [emerge is the command which installs packages] It is also allowed to pin a particular version of the package, but if=20 the package exists in both the overlay and the main repo, I am not sure=20 what will happen. Perhaps in the future a similar method could be used to pin a particular = channel for a package? It is quite useful to ensure the latest package=20 continues to be installed without having to change the version number in = the package list. -- Paul