|
148 | 148 | ''; |
149 | 149 | }; |
150 | 150 |
|
151 | | - # Kept for consumers that still invoke the Goldsky CLI directly |
152 | | - # (gildlab/offchainAssetVault-subgraph). subgraph-deploy targets Ormi. |
153 | | - goldsky = pkgs.stdenv.mkDerivation rec { |
154 | | - pname = "goldsky"; |
155 | | - version = "13.3.4"; |
156 | | - src = |
157 | | - let |
158 | | - release-name = "13.3.4"; |
159 | | - system-mapping = { |
160 | | - x86_64-linux = "linux"; |
161 | | - x86_64-darwin = "macos"; |
162 | | - aarch64-darwin = "macos"; |
163 | | - }; |
164 | | - system-sha = { |
165 | | - x86_64-linux = "sha256:1wg09vz652hv3hb0w7mx7hjxm00c857h2a8kd2vj11wnik8gh73m"; |
166 | | - x86_64-darwin = "sha256:048w06x56lk84h9x8q2jf7mdxx8lyzd9nrkxsmfkj39rns1nr4yk"; |
167 | | - aarch64-darwin = "sha256:048w06x56lk84h9x8q2jf7mdxx8lyzd9nrkxsmfkj39rns1nr4yk"; |
168 | | - }; |
169 | | - in |
170 | | - builtins.fetchurl { |
171 | | - url = "https://cli.goldsky.com/${release-name}/${system-mapping.${system}}/goldsky"; |
172 | | - sha256 = system-sha.${system}; |
173 | | - }; |
174 | | - buildInputs = [ ]; |
175 | | - phases = [ "installPhase" ]; |
176 | | - installPhase = '' |
177 | | - mkdir -p $out/bin |
178 | | - cp $src $out/bin/goldsky |
179 | | - chmod +x $out/bin/goldsky |
180 | | - ''; |
181 | | - }; |
182 | | - |
183 | 151 | # rainix-curated prettier bundle: a single nix-built node_modules |
184 | 152 | # tree containing prettier + the standardized plugins, plus a |
185 | 153 | # .prettierrc.json picked up via PRETTIER_BUNDLE_DIR. Consumers |
|
773 | 741 | ''; |
774 | 742 | }; |
775 | 743 |
|
776 | | - # Slim shell for subgraph repos: node + the-graph + goldsky + |
777 | | - # subgraph-tasks. No rust, no foundry, no sqlite/yq/age. Lets |
778 | | - # consumers avoid the heavy default closure when CI is just |
779 | | - # subgraph-test. |
| 744 | + # Slim shell for subgraph repos: node + the-graph + subgraph-tasks. No |
| 745 | + # rust, no foundry, no sqlite/yq/age. Lets consumers avoid the heavy |
| 746 | + # default closure when CI is just subgraph-test. |
780 | 747 | subgraph-shell = pkgs.mkShell { |
781 | 748 | buildInputs = |
782 | 749 | node-build-inputs |
783 | 750 | ++ subgraph-tasks |
784 | 751 | ++ common-shell-inputs |
785 | 752 | ++ [ |
786 | 753 | the-graph |
787 | | - goldsky |
788 | 754 | ]; |
789 | 755 | shellHook = '' |
790 | 756 | ${pre-commit.shellHook} |
|
802 | 768 | ++ common-shell-inputs |
803 | 769 | ++ [ |
804 | 770 | the-graph |
805 | | - goldsky |
806 | 771 | pkgs.sqlite |
807 | 772 | pkgs.yq-go |
808 | 773 | pkgs.age |
|
0 commit comments