1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 19:11:08 +01:00

nix-index: use nix-index-database flake

This commit is contained in:
2025-12-13 23:12:07 +01:00
parent ed5c8815ce
commit 64ac86b32b
3 changed files with 7 additions and 21 deletions

View File

@@ -1,13 +0,0 @@
{
writers,
wget,
system,
}:
writers.writeDashBin "nix-index-update" ''
filename="index-${system}"
mkdir -p ~/.cache/nix-index
cd ~/.cache/nix-index
# -N will only download a new version if there is an update.
${wget}/bin/wget -q -N https://github.com/Mic92/nix-index-database/releases/latest/download/$filename
ln -f $filename files
''