GNU bug report logs - #64074
guix [COMMAND] --load-path does not check if path is valid

Previous Next

Package: guix;

Reported by: Christian Miller <miller.christian <at> proton.me>

Date: Wed, 14 Jun 2023 22:48:01 UTC

Severity: normal

Done: Christian Miller <miller.christian <at> proton.me>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christian Miller <miller.christian <at> proton.me>
Cc: 64074 <at> debbugs.gnu.org
Subject: bug#64074: guix [COMMAND] --load-path does not check if path is valid
Date: Thu, 15 Jun 2023 14:39:47 +0200
Hi,

Christian Miller <miller.christian <at> proton.me> 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’s the same for all similar search path command-line flags
(think ‘gcc -I…’, ‘ld -L…’, and so on).

> It should do that just like the -f or --file flag for the guilx build
> command.

I don’t think so; I think tolerating non-existent directories in the
search path is useful.

Thanks,
Ludo’.




This bug report was last modified 1 year and 329 days ago.

Previous Next


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