summaryrefslogtreecommitdiffstats
path: root/krebs/update-nixpkgs.sh
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-10-27 19:32:27 +0100
committerlassulus <lassulus@lassul.us>2020-10-27 19:32:27 +0100
commit1e4658d0aef7b0cb5f889d3b66e35853730a942a (patch)
tree4f058c45c3dbbe23ff9c896340fc4850ac4f7643 /krebs/update-nixpkgs.sh
parentf760989f01b0859dda6862d339e58b7f13aed74a (diff)
switch to 20.09
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 b0ffb6adc..9a0ea7ed4 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.03' \
+ --rev refs/heads/nixos-20.09' \
> $dir/nixpkgs.json
newrev=$(cat $dir/nixpkgs.json | jq -r .rev | sed 's/\(.\{7\}\).*/\1/')
git commit $dir/nixpkgs.json -m "nixpkgs: $oldrev -> $newrev"