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:
@@ -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
|
||||
''
|
||||
Reference in New Issue
Block a user