summaryrefslogtreecommitdiffstats
path: root/krebs/update-nixpkgs.sh
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-06-03 19:45:09 +0200
committerlassulus <lassulus@lassul.us>2021-06-03 19:45:09 +0200
commit75d139b0bee8a60af81d1477dd1d4f8c4ef5167d (patch)
tree1a4b9cda7aad5d8476bd7696b49718b435ea74ea /krebs/update-nixpkgs.sh
parentd4c67bfb14f48ef8783284d4079191ae10982137 (diff)
nixpkgs: 20.09 -> 21.05
Diffstat (limited to 'krebs/update-nixpkgs.sh')
-rwxr-xr-xkrebs/update-nixpkgs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/update-nixpkgs.sh b/krebs/update-nixpkgs.sh
index 9a0ea7ed4..368a3ecb3 100755
--- a/krebs/update-nixpkgs.sh
+++ b/krebs/update-nixpkgs.sh
@@ -3,7 +3,7 @@ dir=$(dirname $0)
oldrev=$(cat $dir/nixpkgs.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-20.09' \
+ --rev refs/heads/nixos-21.05' \
> $dir/nixpkgs.json
newrev=$(cat $dir/nixpkgs.json | jq -r .rev | sed 's/\(.\{7\}\).*/\1/')
git commit $dir/nixpkgs.json -m "nixpkgs: $oldrev -> $newrev"