GNU bug report logs - #68172
guix-module-union and guile modules take priority over $GUILE_LOAD_PATH

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Mikhail Tsykalov <tsymsh@HIDDEN>; dated Sun, 31 Dec 2023 12:58:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Dec 2023 12:57:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 31 07:57:15 2023
Received: from localhost ([127.0.0.1]:45786 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rJvNS-0002hi-U7
	for submit <at> debbugs.gnu.org; Sun, 31 Dec 2023 07:57:15 -0500
Received: from lists.gnu.org ([2001:470:142::17]:39794)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tsymsh@HIDDEN>) id 1rJvNR-0002hT-GW
 for submit <at> debbugs.gnu.org; Sun, 31 Dec 2023 07:57:14 -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 <tsymsh@HIDDEN>) id 1rJvNI-0005Mo-Ax
 for bug-guix@HIDDEN; Sun, 31 Dec 2023 07:57:04 -0500
Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <tsymsh@HIDDEN>) id 1rJvNG-00089V-O6
 for bug-guix@HIDDEN; Sun, 31 Dec 2023 07:57:04 -0500
Received: by mail-lf1-x12c.google.com with SMTP id
 2adb3069b0e04-50e77a2805fso5217475e87.1
 for <bug-guix@HIDDEN>; Sun, 31 Dec 2023 04:57:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704027420; x=1704632220; darn=gnu.org;
 h=content-transfer-encoding:content-language:to:subject:from
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=zxaMi2MCH82vDqC9h24sMBoBU24pMoBdZkZSqWrre10=;
 b=Llyz0EAgV4ju8juXLxCbmx6CRTHhxFtmzmD7S6QiUCu8idkJf88x/PryynRhJJtVC4
 XbZ7wlJab/lKhoOzajdV6vW7cHzJz6RylrC3x9g/7DvVmDIoqD3BQUBu4dgl/L4jwmqo
 nbAvOUM5y+6k5dD++UKYKBtvVluCVmDsL+8YNgTgLPfH3LbkqoM/PzC9Mh0IgRpzqxWy
 nkEkJbtlpsE9eOmSCCaYG3o56/N39WjVuci4Qyh8iJVmtx2QMda7mSUHYLYdOnIOMwYc
 On2odjYw/6apBpV1uUmokh1OZsJOSZnYJUnB9PBs0G/CXOAg1KuThGmTZjDbTfaVPQBF
 +p8w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704027420; x=1704632220;
 h=content-transfer-encoding:content-language:to:subject:from
 :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=zxaMi2MCH82vDqC9h24sMBoBU24pMoBdZkZSqWrre10=;
 b=FmJVuFQqJRlLDRTGognolKQxJn8Np5YSUKaEHhD6JChERBTZYVjeuC5Ycq2tUn54Go
 6JiYycmNTOCN+bWKKJ1Oli9bLxSOw10jYYUsOwh/73osvdAKgPewkcpUn/uouvnrWFUy
 vypDIU2sf7/EDsiouTer8DKKINRSf3HLjG3GnB0h3Zc9taAWxmZ86Xck49v5DWHBZTLJ
 BP6VqGST5BlxxpyS5lSVNlGbF0MS3SgY+Utjob/pS0V3kNF0yd0QstSZ5cJnDjPxy6j3
 oHRXzHunDPDbYxyX0g78AHXC3qvowEImfyrh5uA9/j6/YBJblaLWcbMAPbvnNIX1uTV4
 t6FQ==
X-Gm-Message-State: AOJu0YzSZVPuHFOOvgMPgJp9OSUfeJodFUAgrd+jLqlBm7rW35l4YQAc
 q+Ymrj9CwGfvQNodXIOMNf3JZPgBvAM=
X-Google-Smtp-Source: AGHT+IFHeeJwfHcs/YNgr8hJN/8FZCwv468oxnpXp5Ml0kNFnsciiTWW+NfyiSIsQtQP/cIzQBkMfw==
X-Received: by 2002:a05:6512:12d2:b0:50e:9a16:fb with SMTP id
 p18-20020a05651212d200b0050e9a1600fbmr256634lfg.6.1704027419741; 
 Sun, 31 Dec 2023 04:56:59 -0800 (PST)
Received: from [192.168.0.13] ([89.148.251.218])
 by smtp.gmail.com with ESMTPSA id
 b15-20020ac247ef000000b0050e8e88b529sm867106lfp.237.2023.12.31.04.56.59
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 31 Dec 2023 04:56:59 -0800 (PST)
Message-ID: <f9ac560a-e4eb-46d8-9c2b-5935fd5d436d@HIDDEN>
Date: Sun, 31 Dec 2023 15:56:58 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Mikhail Tsykalov <tsymsh@HIDDEN>
Subject: guix-module-union and guile modules take priority over
 $GUILE_LOAD_PATH
To: bug-guix@HIDDEN
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=2a00:1450:4864:20::12c;
 envelope-from=tsymsh@HIDDEN; helo=mail-lf1-x12c.google.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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

When running (bash syntax) "env GUILE_LOAD_PATH=/tmp:$GUILE_LOAD_PATH 
guix repl <(echo '(display %load-path) (newline)')" /tmp is placed after 
guix-module-union and guile modules.

While this may be desired behavior (judging from commit message of 
459f0d07a1b), it leads to the user being unable to overwrite modules in 
guix-module-union using environmental variables.

This doesn't really break anything documented, but it makes pre-inst-env 
with unbuilt scripts/guix pull modules from guix-modules-union instead 
of working directory. (i.e. "make check-system" will ignore changes to 
gnu/tests subdirectory). Also I think it's logical for user paths to 
take priority over system ones.

I think these entries are added by 
https://git.savannah.gnu.org/cgit/guix.git/tree/guix/self.scm?id=2a242e86379ebddbdddf2927f26e5e27a98fc605#n616.





Acknowledgement sent to Mikhail Tsykalov <tsymsh@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#68172; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.