mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 07:37:33 +00:00
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.
This commit is contained in:
parent
b569c6ef73
commit
4b348d6a6f
@ -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…
Reference in New Issue
Block a user