Skip to content

Commit

Permalink
build(nix): fix osmosis fetch via http (#252)
Browse files Browse the repository at this point in the history
* update cosmos.nix branch

* update osmosis lock

* prefetch the git source

* rm osmosis pre-fetch step

* revert cosmos.nix pr branch

* update cosmos.nix lock

* update nixpkg and rust-overlay lock
  • Loading branch information
rnbguy authored Feb 5, 2025
1 parent c12c631 commit 51c9b8d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 29 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/hermes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,6 @@ jobs:
relayer -> relayer/target
light-client -> light-client/target
- name: Pre-fetch Osmosis repo
run: |
OSMOSIS_REV=`nix flake metadata --json | jq -r '.locks.nodes["osmosis-src"].locked.rev'`
for i in `seq 1 10`; do
if nix flake prefetch "github:osmosis-labs/osmosis/${OSMOSIS_REV}"; then
exit 0
else
sleep 2
fi
done
exit 1
- name: Nix build
env:
RUST_BACKTRACE: 1
Expand Down
34 changes: 17 additions & 17 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 51c9b8d

Please sign in to comment.