summaryrefslogtreecommitdiffstats
path: root/krebs/update-nixpkgs.sh
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-12-02 09:18:41 +0100
committerlassulus <lassulus@lassul.us>2022-12-02 09:18:41 +0100
commit61bc72c4b4d19c612ea65c8f75762eca6e5ac535 (patch)
treee5ab9ea2ea7aae105ef4a26527c953d9a7d0ad28 /krebs/update-nixpkgs.sh
parent645c3564f75589531abcf17fd3c3f920d93a394a (diff)
22.05 -> 22.11
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 59dbd91b5..97c069d86 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-22.05' \
+ --rev refs/heads/nixos-22.11' \
> $dir/nixpkgs.json
newrev=$(cat $dir/nixpkgs.json | jq -r .rev | sed 's/\(.\{7\}\).*/\1/')
git commit $dir/nixpkgs.json -m "nixpkgs: $oldrev -> $newrev"