summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2019-01-11 11:19:59 +0100
committerMichael Raskin <7c6f434c@mail.ru>2019-01-11 11:46:23 +0100
commit3bd38b0daa1b8c0fdadf01ae63e7ddda12fb1e74 (patch)
tree534bb5e000b57f66daeb9335533e3db5c2b6bc03 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent5ef8b40d4dd134a285b17125db89f1e0af4e55cb (diff)
lighttpd: fix tests on Linux
The tests were enabled in #53488 and succeeded on Darwin; on Linux they still failed because of empty hostname inside the sandbox (we have no UTS-namespace hostname and I think no /etc/hosts). Nix on Darwin lacks powerful enough sandboxing, so there were no problems on Darwin. Patching the tests to fallback to "127.0.0.1" if hostname of the localhost cannot be retrieved matches the behaviour of lighttpd itself and allows the tests to pass. Not sure if having no hostname in the test environment is a bit too weird for the upstream to care.
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions