From a5f62702b23e82286e71853c71fb1c1200200941 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Sat, 18 Feb 2023 22:44:09 +0100 Subject: [PATCH] nix-index cache is now updated by flake --- apply.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/apply.sh b/apply.sh index 0df8d94..1f15221 100755 --- a/apply.sh +++ b/apply.sh @@ -10,13 +10,3 @@ nix build .#yorick-home --no-link nix run .#update-home nixos-rebuild switch --flake .# --target-host root@localhost rm -f result -set +x -echo "Updating nix-index cache" -( - filename="index-x86_64-$(uname | tr A-Z a-z)" - mkdir -p ~/.cache/nix-index - cd ~/.cache/nix-index - # -N will only download a new version if there is an update. - wget -q -N https://github.com/Mic92/nix-index-database/releases/latest/download/$filename - ln -f $filename files -)