From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aNK9G+UCKGXEcQEA9RJhRA:P1 (envelope-from ) for ; Thu, 12 Oct 2023 16:29:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aNK9G+UCKGXEcQEA9RJhRA (envelope-from ) for ; Thu, 12 Oct 2023 16:29:57 +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 331B07344E for ; Thu, 12 Oct 2023 16:29:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jaa3kkx0; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697120997; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1c820AuXbHAMu20G/66ws2d49FRlpsSuKO8vnUSIhbE=; b=QoG+9nYT0RxsoTFie598DJvDLBz6Rk4glbvSRW1rLqNag0qu3xfGqpKDGRqmi9jj6KlvH9 hMO935wvGRKXF2yolspDeALNopjIgfHttOYeru08tL7AM0E4efpqaAchZWE7Ira8zkARo0 jteoRlR8BsK//DdgYIEiOjTAx1vvfypPaCacRLDFq+4IZOY7bZgsEeM84GaoD8EP3rRzeL N4WUtKPHjXwgqlOl15zWBC/3+VPWqrQqsOVGSRDSOTMBM3MSTBw7zydC1wGppOW6ZQj5dy OjNCCn1abuaaAXetg1LWRvYbB9Ma//il5rwcAVZ4a2qEVtxqRkcNX1Jrzjhrzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697120997; a=rsa-sha256; cv=none; b=D5dk3HbTph5+EQCrcotbtAp7O5WjhNjHE/rrXRobj92DMUJ50IzLcL80d2OX0+tYamuM0+ TMHKl5VPUBKprgof5OJVDZL0VXTr2CCGVMlFl5580NLr/EwfUeGxKR5Gwcrx1VZk/BsGyK 0LbmRXbaobu2PmTVccm4k8v6Wqtdm1clmGbCxa23ci+gXmDdao5TsqESJyrHFA7U+tpsgV JrDqNJbtpDFv90Qv0th8GZ3noZJdWRetMe2fpaZrwnqKYKyKsPXkMFXSSBTH00KHdXuZVJ a9vzqYiEonnby6ka92FL2V3LxgwEeBWQi9XgPBv4CbeE0cXa8/QbPaZHL4s71A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jaa3kkx0; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqwh4-0007mB-HM; Thu, 12 Oct 2023 10:29:42 -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 1qqwh2-0007lU-Rh for bug-guix@gnu.org; Thu, 12 Oct 2023 10:29:40 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqwh2-0003wx-Jk for bug-guix@gnu.org; Thu, 12 Oct 2023 10:29:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqwhP-0004TO-0M for bug-guix@gnu.org; Thu, 12 Oct 2023 10:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66419: Incorrect handling of -L flag on guix system commands Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 Oct 2023 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66419 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= Cc: 66419@debbugs.gnu.org Received: via spool by 66419-submit@debbugs.gnu.org id=B66419.169712097317116 (code B ref 66419); Thu, 12 Oct 2023 14:30:02 +0000 Received: (at 66419) by debbugs.gnu.org; 12 Oct 2023 14:29:33 +0000 Received: from localhost ([127.0.0.1]:43994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqwgu-0004Rz-O5 for submit@debbugs.gnu.org; Thu, 12 Oct 2023 10:29:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqwgs-0004Rg-Np for 66419@debbugs.gnu.org; Thu, 12 Oct 2023 10:29:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqwgO-0003tj-RZ; Thu, 12 Oct 2023 10:29:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=1c820AuXbHAMu20G/66ws2d49FRlpsSuKO8vnUSIhbE=; b=jaa3kkx0a3vQTXh64VYh okJC8JWd/fmfXT+2X4A9trjfPGinlY/8+FwxX7OeNn42S1tVP0yVpzo3/0coOqeZgTe+dftbP/q5J B4r8SMledUy5vTwUIVnUbMdIRE7jouLy5m3PaM3I1ljfU0c/vQqCoCVB3WOKBumoQVfP3vemH255v pVRgoGsMG/0S7rBQ7xgd+aq8BaVEJyV07J8x8SUV9PChlmJ9DJbiDVYFKo6avQnLDNjmp4fpDoLka XZDEh1VD+JQemwL5NvNtyzy+1fFPmwY1YSOQoSPA5KjG3ggVSBCKgimtXhHDXDRoXYiq3rmPZZiAC BkCKVchPHFrRGg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: ("Sergio Pastor =?UTF-8?Q?P=C3=A9rez?="'s message of "Mon, 09 Oct 2023 12:16:50 +0200") References: Date: Thu, 12 Oct 2023 16:28:51 +0200 Message-ID: <87ttqvlxss.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.84 X-Migadu-Queue-Id: 331B07344E X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.84 X-TUID: IraY7UVV9WW4 Hi, Sergio Pastor P=C3=A9rez skribis: > =CE=BB guix system build -L . bordercollie.scm=20 > error: %useful-gnome-extensions: unbound variable > hint: Did you forget `(use-modules (base-system))'? > > /gnu/store/gf21yc9ii1cfd3ki9hnn8ac5d65923ir-system =E2=80=98-L=E2=80=99 does more than setting =E2=80=98GUILE_LOAD_PATH=E2=80= =99; it=E2=80=99s equivalent to =E2=80=98-L=E2=80=99 in other =E2=80=98guix=E2=80=99 commands, meaning that it changes =E2=80=98= %package-search-path=E2=80=99 (like the =E2=80=98GUIX_PACKAGE_PATH=E2=80=99 environment variable). In doing so, it causes package lookup by name to traverse all the .scm files in $PWD in this case. In other words, =E2=80=98guix system -L.=E2=80= =99 ends up loading ./*.scm. This is probably the source of confusion. HTH, Ludo=E2=80=99.