From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id jDOeCrkGi2QfAgAASxT56A (envelope-from ) for ; Thu, 15 Jun 2023 14:40:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kKVmCbkGi2Tc2gAAauVa8A (envelope-from ) for ; Thu, 15 Jun 2023 14:40:25 +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 EA4DC39DDE for ; Thu, 15 Jun 2023 14:40:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9mGl-0004kz-8N; Thu, 15 Jun 2023 08:40:07 -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 1q9mGg-0004kJ-TD for bug-guix@gnu.org; Thu, 15 Jun 2023 08:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9mGg-0002UI-Jy for bug-guix@gnu.org; Thu, 15 Jun 2023 08:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9mGg-0003S6-Fa for bug-guix@gnu.org; Thu, 15 Jun 2023 08:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64074: guix [COMMAND] --load-path does not check if path is valid Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 15 Jun 2023 12:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64074 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christian Miller Cc: 64074@debbugs.gnu.org Received: via spool by 64074-submit@debbugs.gnu.org id=B64074.168683279613254 (code B ref 64074); Thu, 15 Jun 2023 12:40:02 +0000 Received: (at 64074) by debbugs.gnu.org; 15 Jun 2023 12:39:56 +0000 Received: from localhost ([127.0.0.1]:46381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9mGa-0003Ri-1p for submit@debbugs.gnu.org; Thu, 15 Jun 2023 08:39:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9mGY-0003RP-RA for 64074@debbugs.gnu.org; Thu, 15 Jun 2023 08:39:55 -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 1q9mGT-0002R9-IO; Thu, 15 Jun 2023 08:39:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=yBFeFFraKVs/2+Zyj4+xDLhW8uiUzjMVQEU1k3YcaJA=; b=MvYtbmdMfPzDwTP8GJ5Z SI+dJJgml0xtJtH/hllnkVl2T0DUy0z1zoajq2Jh3LJZfbepcbGq0oJbbPHJbucSZ1W0AWIIx6CY5 ocIYytWyJ2zc0h+gepY8Ly2roOAJz3W2NWb5nlM6ECZKvSMtUkUciJwMI5JxTqZFVQrjp9Fw2eeY5 9ld8csEcZFRtku/OcUwtMyj6RAW3OUBW9oFSne/Tvmzo6nwV5fra3WmBEywEZyHYIzCBXctL8vquz XsHO9A+xBVEZs7R0haRXq39WZNX+Kfvpyyzl4t3wAyHL7f6D4+ahmkR4p3R61wfxwsejaz9NzQyrb lyAzQNPHLkRx1g==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9mGT-0002lc-5Y; Thu, 15 Jun 2023 08:39:49 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Thu, 15 Jun 2023 14:39:47 +0200 In-Reply-To: (Christian Miller's message of "Wed, 14 Jun 2023 22:47:41 +0000") Message-ID: <87pm5wx5kc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686832825; 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=yBFeFFraKVs/2+Zyj4+xDLhW8uiUzjMVQEU1k3YcaJA=; b=DgdDhHsoR7tMrg8lvzyUXcWIzgUmb+QnAEDJpTbgEUUt39FBeBrtET3Q0UCsndTRi6YlY+ yw1sVLtijfGCknUrnMF6cqAM9c5r1mfJ01XVUpm63VAxBsMpthQfGXWqA1LhqLAOx5s2aU S2sSczi1F4hwCyRdaQgdvNegPVoSQfInxN3CrxUjKnp+tpEbHylDejYOapzod9UmazCqhQ 4hKpGKD0JP9LXEAi2DFqBuaUkiJQ1xl0U1E0OWfV4CGBtyDUlJUghVnXYb84xNgwuLcmG/ 5rxbcEfU0e4y7LKNVogi0xxap3ckUIM0nAG2XF/NKEOrrsSkkCpvLusp+5LUTg== 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=MvYtbmdM; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686832825; a=rsa-sha256; cv=none; b=ZveVFT2O9///vN7kxgz1tb6C9alf/tGYfxIDzFyy4n1+0o+9feL00h0BJklj4IIkQvqTOy Jzr2ExqdG+HdXIW7A/x8Ln/n9f4iQATbOTfkBSRhNkGK2g+Bg3wJ75OdDIHnTCMIK30fUb ptHoHVLmgex0FP9z5YzJ4ifMF1flqNkPwulXVimvo0QfJqVYpuSKpa/+Uk9i8hai+3p6fU zbs9P+V2ukc/Mcu6EJ+4lCWsEwXqyshZL0OLGGXlJdk0fpudDCIUJrRRtkaslOp6/U0RJu 1x2mQGTRLiQ4TYdw18KTydgqBqm6OLlKGYniVbs/Wu3VFIip96a2fdWVy5rkpQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=MvYtbmdM; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: EA4DC39DDE X-Spam-Score: -4.13 X-TUID: aQQJa7GsF4Ht Hi, Christian Miller skribis: > User can set load path with -L or --load-path in commands like guix > build, guix time-machine and so on. But this flag does not check if > the path is actually a valid directory. You can point to a directory > that doesn't even exist on the filesystem. Indeed. That=E2=80=99s the same for all similar search path command-line f= lags (think =E2=80=98gcc -I=E2=80=A6=E2=80=99, =E2=80=98ld -L=E2=80=A6=E2=80=99,= and so on). > It should do that just like the -f or --file flag for the guilx build > command. I don=E2=80=99t think so; I think tolerating non-existent directories in the search path is useful. Thanks, Ludo=E2=80=99.