[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65924: git searches coreutils and util-linux commands in PATH
From: |
Ludovic Courtès |
Subject: |
bug#65924: git searches coreutils and util-linux commands in PATH |
Date: |
Wed, 04 Oct 2023 18:14:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> Attempting to use git-minimal in a --pure environment, I stumbled upon:
>
> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-submodule:
> line 7: basename: command not found
> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-submodule:
> line 7: sed: command not found
> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-sh-setup:
> line 77: basename: command not found
> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-sh-setup:
> line 77: sed: command not found
> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-sh-setup:
> line 292: uname: command not found
> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-submodule:
> line 613: sed: command not found
> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-submodule:
> line 613: cmd_: command not found
> ☒ git clone exited 127
>
> The 'git' command should be wrapped to include these in its PATH.
I think we should add coreutils-minimal and sed (or gash-utils?) to the
‘git-submodule’ wrapper that already exists.
Closure size is a concern, as Simon notes. Longer-term we should make
coreutils-minimal more minimal, perhaps by stripping it of l10n data.
But first: let’s fix this so we can address
<https://issues.guix.gnu.org/66305>.
Ludo’.
- bug#65924: git searches coreutils and util-linux commands in PATH,
Ludovic Courtès <=