Skip to content

Commit

Permalink
wip: graphql client in nix
Browse files Browse the repository at this point in the history
  • Loading branch information
NanezX committed Nov 2, 2023
1 parent de363fb commit c8caa12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions subgraph/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
let
pkgs = nixpkgs.legacyPackages.${system};
jq = "${pkgs.jq}/bin/jq";
graphql_client = "${pkgs.graphql-client}/bin/graphql-client";

in rec {
packages = rec {
Expand Down Expand Up @@ -70,6 +71,10 @@
anvil -m "$(cat ./test-mnemonic)"
'');

check = pkgs.writeShellScriptBin "check" (''
${graphql_client}
'');

strong-anvil = pkgs.writeShellScriptBin "strong-anvil" (''
anvil -m "$(cat ./test-mnemonic)" --code-size-limit 36864
'');
Expand Down

0 comments on commit c8caa12

Please sign in to comment.