Kaynağa Gözat

Remove obsolete /nix/var/nix/{manifests,channel-cache}

wip-nanopi-m4v2
Eelco Dolstra 8 yıl önce
ebeveyn
işleme
7db841512a
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 8170B4726D7198DE
3 değiştirilmiş dosya ile 2 ekleme ve 7 silme
  1. +1
    -3
      doc/languages-frameworks/haskell.md
  2. +0
    -1
      lib/tests/release.nix
  3. +1
    -3
      nixos/modules/services/misc/nix-daemon.nix

+ 1
- 3
doc/languages-frameworks/haskell.md Dosyayı Görüntüle

@@ -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
command, i.e. by running:
```shell
rm /nix/var/nix/binary-cache-v3.sqlite
rm /nix/var/nix/manifests/*
rm /nix/var/nix/channel-cache/*
rm ~/.cache/nix/binary-cache*.sqlite
```

### Builds on Darwin fail with `math.h` not found


+ 0
- 1
lib/tests/release.nix Dosyayı Görüntüle

@@ -13,7 +13,6 @@ pkgs.stdenv.mkDerivation {
export NIX_DB_DIR=$TEST_ROOT/db
export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
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_STORE_DIR=$TEST_ROOT/store
export PAGER=cat


+ 1
- 3
nixos/modules/services/misc/nix-daemon.nix Dosyayı Görüntüle

@@ -445,12 +445,10 @@ in
mkdir -m 0755 -p \
/nix/var/nix/gcroots \
/nix/var/nix/temproots \
/nix/var/nix/manifests \
/nix/var/nix/userpool \
/nix/var/nix/profiles \
/nix/var/nix/db \
/nix/var/log/nix/drvs \
/nix/var/nix/channel-cache
/nix/var/log/nix/drvs
mkdir -m 1777 -p \
/nix/var/nix/gcroots/per-user \
/nix/var/nix/profiles/per-user \


Yükleniyor…
İptal
Kaydet