bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: bug#64074: guix [COMMAND] --load-path does not check if path is valid
Date: Thu, 15 Jun 2023 14:39:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi,

Christian Miller <miller.christian@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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]