Skip to content

Commit

Permalink
Fixed mac rust tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Apr 15, 2024
1 parent 7c6e752 commit 7a5282d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "build-sync-npm-git-dependencies-with-nix"
name: "build-and-cache-rust-tooling"
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
Expand Down Expand Up @@ -29,10 +29,18 @@ jobs:
with:
name: holochain-open-dev

- name: Build zomes
- name: Build sync-npm-git-dependencies-with-nix
env:
CACHIX_AUTH_TOKEN: "${{ secrets.CACHIX_TOKEN_HOLOCHAIN_OPEN_DEV }}"
run: |
nix build -L .#sync-npm-git-dependencies-with-nix
cachix push holochain-open-dev $(nix path-info .#sync-npm-git-dependencies-with-nix)
cachix pin holochain-open-dev sync-npm-git-dependencies-with-nix $(nix path-info .#sync-npm-git-dependencies-with-nix)
- name: Build scaffold-remote-zome
env:
CACHIX_AUTH_TOKEN: "${{ secrets.CACHIX_TOKEN_HOLOCHAIN_OPEN_DEV }}"
run: |
nix build -L .#scaffold-remote-zome
cachix push holochain-open-dev $(nix path-info .#scaffold-remote-zome)
cachix pin holochain-open-dev scaffold-remote-zome $(nix path-info .#scaffold-remote-zome)
50 changes: 25 additions & 25 deletions flake.lock

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

1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ The npm command that you just ran will continue now, but it is recommended that
]));
commonArgs = {
inherit buildInputs;
strictDeps = true;
doCheck = false;
src = craneLib.cleanCargoSource (craneLib.path ./.);
nativeBuildInputs = (with pkgs; [ makeWrapper perl pkg-config inputs'.holochain.packages.goWrapper ])
Expand Down

0 comments on commit 7a5282d

Please sign in to comment.