git.iko.soy/typeable/nixpkgs
on master help sign in
Remove obsolete /nix/var/nix/{manifests,channel-cache}
commit7db841512abf6484155448504f1c2f3586db8d9a authorEelco Dolstra <edolstra@gmail.com> dateTue 20 Mar 2018, 18:26 (9 years ago) parentfceb73d
3 files changed+2−7
doc/languages-frameworks/haskell.md+1−3 lib/tests/release.nix−1 nixos/modules/services/misc/nix-daemon.nix+1−3
doc/languages-frameworks/haskell.md+1−3
@@ -689,9 +689,7 @@ might be necessary to purge the local caches that store data from those
689689machines to disable these binary channels for the duration of the previous
690690command, i.e. by running:
691691```shell
692−rm /nix/var/nix/binary-cache-v3.sqlite
693−rm /nix/var/nix/manifests/*
694−rm /nix/var/nix/channel-cache/*
692+rm ~/.cache/nix/binary-cache*.sqlite
695693```
696694
697695### Builds on Darwin fail with `math.h` not found
lib/tests/release.nix−1
@@ -13,7 +13,6 @@ pkgs.stdenv.mkDerivation {
1313 export NIX_DB_DIR=$TEST_ROOT/db
1414 export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
1515 export NIX_LOG_DIR=$TEST_ROOT/var/log/nix
16− export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
1716 export NIX_STATE_DIR=$TEST_ROOT/var/nix
1817 export NIX_STORE_DIR=$TEST_ROOT/store
1918 export PAGER=cat
nixos/modules/services/misc/nix-daemon.nix+1−3
@@ -445,12 +445,10 @@ in
445445 mkdir -m 0755 -p \
446446 /nix/var/nix/gcroots \
447447 /nix/var/nix/temproots \
448− /nix/var/nix/manifests \
449448 /nix/var/nix/userpool \
450449 /nix/var/nix/profiles \
451450 /nix/var/nix/db \
452− /nix/var/log/nix/drvs \
453− /nix/var/nix/channel-cache
451+ /nix/var/log/nix/drvs
454452 mkdir -m 1777 -p \
455453 /nix/var/nix/gcroots/per-user \
456454 /nix/var/nix/profiles/per-user \