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

+1 -1
View File
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
};
# The workspace has git deps in [patch.crates-io]; cargoHash covers them.
cargoHash = lib.fakeHash;
cargoHash = "sha256-UQ8qNqoeDwkwhmVZebi++gb2GP61dr1Zv2QU9mJ6KJ8=";
# Only this crate; the workspace has 30+ others (relay, db, ...).
cargoBuildFlags = [ "-p" "buzz-cli" ];
+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}"