summaryrefslogtreecommitdiffstats
path: root/krebs/update-nixpkgs-unstable.sh
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-12-12 11:39:16 +0100
committerlassulus <git@lassul.us>2023-12-12 11:39:16 +0100
commit61a5c464b894a3b78bd98998664f89b9611ecc1a (patch)
tree150eb0d6f8d6c4bd0005f49e8065073bb8043bdb /krebs/update-nixpkgs-unstable.sh
parent520391482411604798cab4d24d48f6c1650718ea (diff)
remove dead nixpkgs-unstable.json
Diffstat (limited to 'krebs/update-nixpkgs-unstable.sh')
-rwxr-xr-xkrebs/update-nixpkgs-unstable.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/krebs/update-nixpkgs-unstable.sh b/krebs/update-nixpkgs-unstable.sh
deleted file mode 100755
index ab04914c..00000000
--- a/krebs/update-nixpkgs-unstable.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-dir=$(dirname $0)
-oldrev=$(cat $dir/nixpkgs-unstable.json | jq -r .rev | sed 's/\(.\{7\}\).*/\1/')
-nix-shell -p nix-prefetch-git --run 'nix-prefetch-git \
- --url https://github.com/NixOS/nixpkgs \
- --rev refs/heads/nixos-unstable' \
-> $dir/nixpkgs-unstable.json
-newrev=$(cat $dir/nixpkgs-unstable.json | jq -r .rev | sed 's/\(.\{7\}\).*/\1/')
-git commit $dir/nixpkgs-unstable.json -m "nixpkgs-unstable: $oldrev -> $newrev"