Skip to content

Commit

Permalink
xxx trying to get submodules working
Browse files Browse the repository at this point in the history
  • Loading branch information
Twey committed May 15, 2024
1 parent c785866 commit 85621eb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
use flake
use flake '.?submodules=1'
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ jobs:
- name: Build the client worker
run: |
cd client-worker
nix develop --command wasm-pack build --target web
nix develop '.?submodules=1' --override-input linera-protocol ../linera-protocol --command wasm-pack build --target web
- name: Build the extension
run: |
cd extension
nix develop --command pnpm build
nix develop --override-input linera-protocol ../linera-protocol --command pnpm install
nix develop --override-input linera-protocol ../linera-protocol --command pnpm build
13 changes: 5 additions & 8 deletions flake.lock

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

5 changes: 1 addition & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
systems.url = "github:nix-systems/default";
linera-protocol = {
type = "git";
url = "file:linera-protocol?shallow=1&submodules=1";
};
linera-protocol.url = "path:linera-protocol";
};

outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
Expand Down

0 comments on commit 85621eb

Please sign in to comment.