|
74 | 74 | }; |
75 | 75 | inherit (nixpkgs) lib; |
76 | 76 |
|
77 | | - proto-js-bundle-drv = import ./nix/proto-to-js.nix { pkgs = nixpkgs; }; |
| 77 | + proto-js-bundle-drv = import ./nix/proto-to-js.nix {pkgs = nixpkgs;}; |
78 | 78 |
|
79 | 79 | # We use cabalProject' to ensure we don't build the plan for |
80 | 80 | # all systems. |
|
152 | 152 | }; |
153 | 153 | }; |
154 | 154 | }) |
155 | | - ({pkgs, config, ...}: let |
| 155 | + ({ |
| 156 | + pkgs, |
| 157 | + config, |
| 158 | + ... |
| 159 | + }: let |
156 | 160 | generatedExampleFiles = ["cardano-wasm/lib-wrapper/cardano-api.d.ts"]; |
157 | 161 | exportWasmPath = "export CARDANO_WASM=${config.hsPkgs.cardano-wasm.components.exes.cardano-wasm}/bin/cardano-wasm${pkgs.stdenv.hostPlatform.extensions.executable}"; |
158 | 162 | in { |
|
210 | 214 | }; |
211 | 215 | }; |
212 | 216 | playwrightShell = let |
213 | | - playwright-pkgs = inputs.nixpkgs.legacyPackages.${system}; |
214 | | - in { |
215 | | - playwright = playwright-pkgs.mkShell { |
216 | | - packages = [ |
217 | | - playwright-pkgs.playwright-test |
218 | | - playwright-pkgs.python313Packages.docopt |
219 | | - playwright-pkgs.python313Packages.httpserver |
220 | | - ]; |
221 | | - }; |
| 217 | + playwright-pkgs = inputs.nixpkgs.legacyPackages.${system}; |
| 218 | + in { |
| 219 | + playwright = playwright-pkgs.mkShell { |
| 220 | + packages = [ |
| 221 | + playwright-pkgs.playwright-test |
| 222 | + playwright-pkgs.python313Packages.docopt |
| 223 | + playwright-pkgs.python313Packages.httpserver |
| 224 | + ]; |
222 | 225 | }; |
| 226 | + }; |
223 | 227 | flakeWithWasmShell = nixpkgs.lib.recursiveUpdate flake { |
224 | 228 | devShells = wasmShell; |
225 | 229 | hydraJobs = {devShells = wasmShell;}; |
|
240 | 244 | // { |
241 | 245 | # This ensure hydra send a status for the required job (even if no change other than commit hash) |
242 | 246 | revision = nixpkgs.writeText "revision" (inputs.self.rev or "dirty"); |
| 247 | + proto-js-bundle = proto-js-bundle-drv; |
243 | 248 | }; |
| 249 | + } |
| 250 | + // lib.optionalAttrs (system != "aarch64-darwin") |
| 251 | + { |
| 252 | + packages = { |
| 253 | + proto-js-bundle = proto-js-bundle-drv; |
| 254 | + }; |
244 | 255 | }; |
245 | 256 | legacyPackages = { |
246 | 257 | inherit cabalProject nixpkgs; |
|
0 commit comments