fix: correct hash command - #161
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adjusts the .circleci/update-hashes.sh release automation script to update how it converts SHA-256 hashes for use in the repository’s Nix sources.json, which is consumed by flake.nix to fetch release artifacts.
Changes:
- Updates the
nix hash convertinvocation used to produce the hash value written intonix/sources.json.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
35
to
+36
| HEX=$(sha256sum "target/release/$binary" | awk '{print $1}') | ||
| SRI=$(nix --extra-experimental-features 'nix-command' hash convert --to-sri --type sha256 "$HEX") | ||
| SRI=$(nix --extra-experimental-features 'nix-command' hash convert --hash-algo sha256 "$HEX") |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
Ruddickmg
added a commit
that referenced
this pull request
Jul 26, 2026
…ks (#164) * chore: allow renovate to manage dependencies on development branch (#111) * target development branch with renovate * chore(deps): pin dependency windows to 5.0.0 (#116) * chore(deps): update dependency eslint to v9.39.4 (#117) * chore(deps): update rust crate agent-client-protocol to v1.0.1 (#118) * chore(deps): update rust crate libc to v0.2.186 (#119) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate serde_json to v1.0.150 (#120) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate tracing-subscriber to v0.3.23 (#121) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update semantic-release monorepo (#122) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update cimg/rust docker tag to v1.96.1 (#123) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency node to v7.2.1 (#124) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency windows to v5.1.1 (#125) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update node.js to v22.23.1 (#126) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint to v9.39.5 (#130) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: add nix integration and deployment * add nix dev shell * set up nixos deployment * add nix install instructions * chore(deps): update dependency semantic-release to v25.0.8 (#131) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): remove direct fontdb depenency (#127) * chore(deps): update rust crate fontdb to 0.23 * remove fontdb dependency --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ruddickmg <ruddickmg@gmail.com> * chore(deps): update rust crate async-trait to v0.1.91 (#132) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate crossbeam-channel to v0.5.16 (#133) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate futures to v0.3.33 (#135) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate libc to v0.2.189 (#136) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate serde to v1.0.229 (#137) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: fix issues with codecov (#140) * pin codecov version * fail when errors occur * chore(deps): update rust crate serde_json to v1.0.151 (#141) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update cimg/rust docker tag to v1.97.1 (#142) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate proptest to v1.11.0 (#144) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate tempfile to v3.27.0 (#145) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate agent-client-protocol to v1.3.0 (#143) * chore(deps): update rust crate agent-client-protocol to v1.3.0 * chore: remove git installation from nix publish script (#147) * fix: update hash generation script (#155) * fix: add missing dependencies (#156) * fix: add missing nix features for hash updates (#159) * feat: add md5 hash for luarocks (#160) * fix: correct hash command (#161) * fix: correct incorrect variable usage (#163) * chore: Add build status badge (#165)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.