github-runner: Avoid /homeless-shelter bug (#170892)

This commit fix "homeless-shelter" bug that you sometimes get on local
builds:

"Failed to read NuGet.Config due to unauthorized access. Path:
'/homeless-shelter/.config/NuGet/NuGet.Config"

Sets HOME envrioment varibale in derivation to /tmp.
main
kfollesdal 2 years ago committed by GitHub
parent b569c6ef73
commit 4b348d6a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/development/tools/continuous-integration/github-runner/default.nix

@ -105,6 +105,8 @@ stdenv.mkDerivation rec {
configurePhase = ''
runHook preConfigure
export HOME=$(mktemp -d)
# Never use nuget.org
nuget sources Disable -Name "nuget.org"

Loading…
Cancel
Save