using seperate robotnix

This commit is contained in:
ari committed 2026-10-27 13:28:27 -04:00
1 parent 0efbc5817b
commit 62e73eb4d2
17 files changed
+158 -2086

No files matched your search

+6
View File
@@ -24,6 +24,12 @@ else
echo "Latest: $VERSION"
fi
CURRENT=$(sed -n 's/^ *version = "\(.*\)";/\1/p' default.nix | head -n1)
if [ "$CURRENT" = "$VERSION" ]; then
echo "✅ ${PKG} already at ${VERSION}"
exit 0
fi
HASH=$(nix flake prefetch "github:${REPO}/desktop-v${VERSION}" --json | jq -r '.hash')
if [ -z "$HASH" ] || [ "$HASH" = "null" ]; then
echo "Could not prefetch tag desktop-v${VERSION}"