python3{11,12}Packages.pdm-backend: set Git user.name for tests

At least one Hydra Darwin builder has an empty real name field for
at least one Nix build user, which causes Git to infer an empty
`user.name` and break.
This commit is contained in:
Emily
2024-10-03 20:03:12 +01:00
parent 192fd67cc3
commit 3d69d78a6c
@@ -46,6 +46,7 @@ buildPythonPackage rec {
# tests require a configured git identity
export HOME=$TMPDIR
git config --global user.name nixbld
git config --global user.email nixbld@localhost
'';