update-nixpkgs-unstable: fix commit msg

This commit is contained in:
lassulus 2019-12-01 16:26:04 +01:00 committed by makefu
parent c16e9c1cc8
commit 4a1ab9bf65
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -6,4 +6,4 @@ nix-shell -p nix-prefetch-git --run 'nix-prefetch-git \
--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.json -m "nixpkgs-unstable: $oldrev -> $newrev"
git commit $dir/nixpkgs-unstable.json -m "nixpkgs-unstable: $oldrev -> $newrev"