metrics: set NIX_STORE_DIR
Mirror ca5ecbed4b
to workaround
NIX_STATE_DIR errors.
As with the other workaround, see:
https://github.com/NixOS/nix/issues/5495#issuecomment-963949707
This commit is contained in:
parent
a7b43a222b
commit
a923032c74
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ runCommand "nixpkgs-metrics"
|
|||
#requiredSystemFeatures = [ "benchmark" ]; # dedicated machine, by @vcunat last time
|
||||
}
|
||||
''
|
||||
export NIX_STATE_DIR=$TMPDIR
|
||||
export NIX_STORE_DIR=$TMPDIR/store
|
||||
export NIX_STATE_DIR=$TMPDIR/state
|
||||
export NIX_PAGER=
|
||||
nix-store --init
|
||||
|
||||
|
|
Loading…
Reference in a new issue