mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
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
|
@ -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