forked from mirrors/nixpkgs
github-runner: use fake HOME in dependency fetcher
This commit is contained in:
parent
4c861dd26c
commit
858da95dc0
|
@ -333,6 +333,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
printf "\n* Setup workdir\n"
|
||||
workdir="$(mktemp -d /tmp/${pname}.XXX)"
|
||||
HOME="$workdir"/.fake-home
|
||||
cp -rT "${src}" "$workdir"
|
||||
chmod -R +w "$workdir"
|
||||
trap 'rm -rf "$workdir"' EXIT
|
||||
|
|
Loading…
Reference in a new issue