diff options
| author | Adam Dinwoodie <adam@dinwoodie.org> | 2024-10-09 14:53:34 +0100 |
|---|---|---|
| committer | Adam Dinwoodie <adam@dinwoodie.org> | 2024-10-09 15:28:31 +0100 |
| commit | 037dffe5465ce0fcda95414b506647e265e9abc5 (patch) | |
| tree | c4dd3ff6d7d9adb9384984a17a74658302d377ae /pkgs/development/python-modules/rangehttpserver | |
| parent | e4a2b7892d0614864f49a2ad5f832eda82f7c471 (diff) | |
git-credential-manager: inherit argv0
`git-credential-manager configure` sets up the user's Git configuration
to use the tool as a credential helper. In Nix, the tool is wrapped,
but the configuration command uses the unwrapped command that doesn't
have the PATH set up and therefore fails. Resolve this by including
`--inherit-argv0` in the wrapper, so the configuration is set up with
the wrapped version of the executable.
This will also mean that the specific git-credential-manager version
isn't hard-coded into the user's Git configuration files, at least
unless the user is calling git-credential-manager that way, and instead
the configuration will list whatever was found in the user's PATH, which
means user configuration will continue to work after
git-credential-manager is updated.
Fixes #298080.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
