Remove obsolete /nix/var/nix/{manifests,channel-cache}
This commit is contained in:
parent
fceb73dec7
commit
7db841512a
|
@ -689,9 +689,7 @@ might be necessary to purge the local caches that store data from those
|
||||||
machines to disable these binary channels for the duration of the previous
|
machines to disable these binary channels for the duration of the previous
|
||||||
command, i.e. by running:
|
command, i.e. by running:
|
||||||
```shell
|
```shell
|
||||||
rm /nix/var/nix/binary-cache-v3.sqlite
|
rm ~/.cache/nix/binary-cache*.sqlite
|
||||||
rm /nix/var/nix/manifests/*
|
|
||||||
rm /nix/var/nix/channel-cache/*
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Builds on Darwin fail with `math.h` not found
|
### Builds on Darwin fail with `math.h` not found
|
||||||
|
|
|
@ -13,7 +13,6 @@ pkgs.stdenv.mkDerivation {
|
||||||
export NIX_DB_DIR=$TEST_ROOT/db
|
export NIX_DB_DIR=$TEST_ROOT/db
|
||||||
export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
|
export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
|
||||||
export NIX_LOG_DIR=$TEST_ROOT/var/log/nix
|
export NIX_LOG_DIR=$TEST_ROOT/var/log/nix
|
||||||
export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
|
|
||||||
export NIX_STATE_DIR=$TEST_ROOT/var/nix
|
export NIX_STATE_DIR=$TEST_ROOT/var/nix
|
||||||
export NIX_STORE_DIR=$TEST_ROOT/store
|
export NIX_STORE_DIR=$TEST_ROOT/store
|
||||||
export PAGER=cat
|
export PAGER=cat
|
||||||
|
|
|
@ -445,12 +445,10 @@ in
|
||||||
mkdir -m 0755 -p \
|
mkdir -m 0755 -p \
|
||||||
/nix/var/nix/gcroots \
|
/nix/var/nix/gcroots \
|
||||||
/nix/var/nix/temproots \
|
/nix/var/nix/temproots \
|
||||||
/nix/var/nix/manifests \
|
|
||||||
/nix/var/nix/userpool \
|
/nix/var/nix/userpool \
|
||||||
/nix/var/nix/profiles \
|
/nix/var/nix/profiles \
|
||||||
/nix/var/nix/db \
|
/nix/var/nix/db \
|
||||||
/nix/var/log/nix/drvs \
|
/nix/var/log/nix/drvs
|
||||||
/nix/var/nix/channel-cache
|
|
||||||
mkdir -m 1777 -p \
|
mkdir -m 1777 -p \
|
||||||
/nix/var/nix/gcroots/per-user \
|
/nix/var/nix/gcroots/per-user \
|
||||||
/nix/var/nix/profiles/per-user \
|
/nix/var/nix/profiles/per-user \
|
||||||
|
|
Loading…
Reference in a new issue