subprojects: remove wlroots.wrap

This commit is contained in:
Mihai Fufezan 2024-01-31 11:56:48 +02:00 committed by Mihai Fufezan
parent e65f52bf2d
commit e6f7724ab0
3 changed files with 1 additions and 53 deletions

View file

@ -8,7 +8,7 @@ CRT_REV=$(rg rev flake.nix | awk '{ print substr($3, 2, 40) }')
if [ "$SUB_REV" != "$CRT_REV" ]; then
echo "Updating wlroots..."
# update wlroots to submodule revision
sed -Ei "s/\w{40}/$SUB_REV/g" flake.nix subprojects/wlroots.wrap
sed -Ei "s/\w{40}/$SUB_REV/g" flake.nix
nix flake lock
echo "wlroots: $CRT_REV -> $SUB_REV"