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 yEhVDbDaa2FtqAAAgWs5BA (envelope-from ) for ; Sun, 17 Oct 2021 10:11:28 +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 WOP8CLDaa2G6LgAAB5/wlQ (envelope-from ) for ; Sun, 17 Oct 2021 08:11:28 +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 B215EF306 for ; Sun, 17 Oct 2021 10:11:27 +0200 (CEST) Received: from localhost ([::1]:34198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mc1GP-0005Ws-8R for larch@yhetil.org; Sun, 17 Oct 2021 04:11:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mc1Fz-0005Wj-IM for help-guix@gnu.org; Sun, 17 Oct 2021 04:10:59 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:33446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mc1Fx-0000G9-ST for help-guix@gnu.org; Sun, 17 Oct 2021 04:10:59 -0400 Received: by mail-wm1-x329.google.com with SMTP id y16-20020a05600c17d000b0030db7a51ee2so3984815wmo.0 for ; Sun, 17 Oct 2021 01:10:57 -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; bh=tzeu1bWVq6TzTJZUU823lCShKmVxDM6TPDyIJntlBYk=; b=p5SO1nILgSH/qHnwYKO66qtclqYwLfttqzEIfd90+canJVJnFJ5UABak8zSaQ6QlqY Vx5HVKwTfKomlVV/vOWV8tHQyqSqNGcOmBu2v3Ua8k/QJ+eBx9/j3OJy2XWnGs2hIw5H ZAs1IwaJYwP0CGsEp1+jD1GDdFEKOL8WaWyYygHm42zXeBnM7ua2dppiiPoTkyyKld1s p2rBeX3EVIHEJFWKbsgAaeT+owJNSgDeVmw6lepJ1B76QhZXXgNrmA+WwGtH01APJ9Jh bD61vjxHNzy3nNs4BDYIrLkMlC4PlhtmjHDG9xpPNY0mQwWwZCK8nJrtjj55zQtzCmp+ yhPA== 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; bh=tzeu1bWVq6TzTJZUU823lCShKmVxDM6TPDyIJntlBYk=; b=x6mFVcr80QQksUc7fg13GyqFLM48AKdRYE5fdBPUl9tiMxb4MfB8HSooJBL07GDyfK bx0WZlhigHSnCztgmWZiauylSFc+sEeO5n3sDBUw51NvbZ3lGIe8nKSdaXVPBbLDL3JV OeFeLtoUlIfRLmzeJn7J9uMSMhPhQFXzmbXudr/TKjvWlkVsRumtlFkUjaM8d2vo1lzK teQ791W2Ifk4I11jUlwiRq4BbQz6R8GojQF4tRaiBxKWRo12yLjQ+FkE4XqDFGfhIGbe YloSBnQyPLl61QyqxlRtZp9vjn5SZJaTQDuqyEJHAqPK8EkgIGyiU0n3hJxczNmIi2u1 5whg== X-Gm-Message-State: AOAM5300hYMsvsriP4jvevVI/6SxzIf6lhpSqfFAldQ+BRZSDpE5S9SA FQxZ3SLqq2o0MpVk5gkkS/AbVwlI4/KT5pTuH2puYw== X-Google-Smtp-Source: ABdhPJxIFJ5QIcAk4227n9PmUJRVk0j3KBU8A6/zKxLcWVoLP0RtS6iZFbQXQKX6I2PUXfDOBIRlIw== X-Received: by 2002:a05:600c:4ece:: with SMTP id g14mr23711658wmq.95.1634458255815; Sun, 17 Oct 2021 01:10:55 -0700 (PDT) Received: from xps13 (host-92-10-211-105.as13285.net. [92.10.211.105]) by smtp.gmail.com with ESMTPSA id n12sm9725202wms.27.2021.10.17.01.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Oct 2021 01:10:55 -0700 (PDT) References: <20211016222911.ex2z4acagxyrgipb@localhost> User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: Tim Lee Subject: Re: GUIX_PACKAGE_PATH doesn't have priority over official guix packages In-reply-to: <20211016222911.ex2z4acagxyrgipb@localhost> Message-ID: <87wnmcax69.fsf@beadling.co.uk> Date: Sun, 17 Oct 2021 09:10:54 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::329; envelope-from=phil@beadling.co.uk; helo=mail-wm1-x329.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: 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=1634458287; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tzeu1bWVq6TzTJZUU823lCShKmVxDM6TPDyIJntlBYk=; b=YqWC3f9G3lPrE/W43fnfogU8HkeugTwM9eYtRaP5kBoaFTDhNsL7T2rkDB2vAmYQ9SBNQ1 m0VRjyd6qu44806EmLQMVWRoGnmaVpVC7dknt7aYT6oXp/V7M8E+7lkR0rE6pOxvPmk5QL S4fWo39Y5VSdNtaRlfeqoAZguABzB9pjJ94iyZWSPgig1SLAPlYLbyyvvbqBCoDgHAc2E8 xNxZINNfI05xkL55ZoMSQ94H8NxtgetvMiaIr5NTmTibXP/slXXA6MaiVHm2udeyjomzxF oZ683aRluzS4EvMGZGjCJv8GHqUhOjp/USPt5UE7O9ALagaMwgP+JPQkAw0VbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634458287; a=rsa-sha256; cv=none; b=fEm5Rlo/NzXvKZ1TGL+p3V+gCHpyK0Zw6neKcy3VxjkG8iIKXaC0sH8HvhQOt1yiq2ls0z x9VG6VOKkd6zWIhhxnal1X7obmj3pCEoPHeGLm3jhpOCdLUYxxUYQHfVNrUKcLdtGhdAlr 8J+hdUcLyBuOd95f1rKbdglqF71FyIlFjMF2pBw0pFt5GvfJUDrWqUk0xIxKn4lPtP83Uk PlbkPZVPgkwwQT2mEueUWzpm0NNr0dRy1xYCbbB5lGKVUSwhVcFUS95L1V/RZI9nGdDOAa 8AaqF2eXqzy6ZwM7V+CgWFcZt10BBoYcWdtOxtGrZm1YLibn30qMwTZRCoRNwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=p5SO1nIL; 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-Spam-Score: -3.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=p5SO1nIL; 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: B215EF306 X-Spam-Score: -3.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: f3WwoCkLn5Im Tim Lee writes: >> Environment Variable: GUIX_PACKAGE_PATH >> >> This is a colon-separated list of directories to search for additional >> package modules. Directories listed in this variable take precedence >> over the own modules of the distribution. > > The last sentence makes it sound like GUIX_PACKAGE_PATH will always have > precedence over the official guix channel. I think the doc should specify "all else being equal" - my own trail and error testing seem to suggest that when versions are equal, Guix will then prefer the package specified by "-L" or "GUIX_PACKAGE_PATH" - however a higher version seems to always win, wherever it is specified. 2 Caveats - This is just by observation only, perhaps someone else can comment if this is intended or not. I used time-machine to test this but I don't think that should change things. I was able to move backwards and forwards in time vs a local package I have specified. My local package was taken when I moved backwards in time, but when I moved forwards to a newer version in Guix it took the remote package instead. When the package was the same as remote it took the version with a local location - as far as I can tell.