using seperate robotnix
This commit is contained in:
1 parent
0efbc5817b
commit
62e73eb4d2
17 files changed
+158
-2086
No files matched your search
@@ -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" ];
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
let
|
||||
pname = "delta-editor";
|
||||
version = "0.21.0";
|
||||
version = "0.22.0";
|
||||
|
||||
apiUrl = "https://delta.dev/api/releases/nightly/${version}/asset?asset=delta&os=linux&arch=x86_64";
|
||||
|
||||
@@ -38,7 +38,7 @@ let
|
||||
inherit version;
|
||||
|
||||
outputHashMode = "flat";
|
||||
outputHash = "sha256-lN5oSycdw1n3AswiGcsB4/jR481noJ5zv3qay5CTXso=";
|
||||
outputHash = "sha256-eFNXRH+N9CQkTxF2pE9LLVAMmoOuAB+39MJf8CKclEQ=";
|
||||
|
||||
nativeBuildInputs = [ curl jq cacert ];
|
||||
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
|
||||
Reference in new issue
Block a user