mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-25 08:09:51 +01:00
nix: drop unused script after 589f758d94
This commit is contained in:
parent
d9ac2f8e95
commit
cd0f4e1546
1 changed files with 0 additions and 17 deletions
|
@ -1,17 +0,0 @@
|
||||||
#!/usr/bin/env -S nix shell nixpkgs#gawk nixpkgs#git nixpkgs#gnused nixpkgs#ripgrep -c bash
|
|
||||||
|
|
||||||
# get wlroots revision from submodule
|
|
||||||
SUB_REV=$(git submodule status | rg wlroots | awk '{ print substr($1,2) }')
|
|
||||||
# and from lockfile
|
|
||||||
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
|
|
||||||
nix flake lock
|
|
||||||
|
|
||||||
echo "wlroots: $CRT_REV -> $SUB_REV"
|
|
||||||
else
|
|
||||||
echo "wlroots is up to date!"
|
|
||||||
fi
|
|
Loading…
Reference in a new issue