diff --git a/pkgs/id/e2e/bun.lock b/pkgs/id/e2e/bun.lock index f58b17563b..3ab21a7cfa 100644 --- a/pkgs/id/e2e/bun.lock +++ b/pkgs/id/e2e/bun.lock @@ -5,17 +5,15 @@ "": { "name": "id-e2e", "devDependencies": { - "@playwright/test": "1.58.2", + "@playwright/test": "1.63.0", }, }, }, "packages": { - "@playwright/test": ["@playwright/test@1.58.2", "", { "dependencies": { "playwright": "1.58.2" }, "bin": { "playwright": "cli.js" } }, "sha512-akea+6bHYBBfA9uQqSYmlJXn61cTa+jbO87xVLCWbTqbWadRVmhxlXATaOjOgcBaWU4ePo0wB41KMFv3o35IXA=="], + "@playwright/test": ["@playwright/test@1.63.0", "", { "dependencies": { "playwright": "1.63.0" }, "bin": { "playwright": "cli.js" } }, "sha512-oxMK4vllB9RK5NQ2l1pq1IfOf2AvnEuj/vYGDj0H2nMtmtZpKtCwt/l00GEO6xjGfpBNAvjovvYdCm50dRQkpQ=="], - "fsevents": ["fsevents@2.3.2", "", { "os": "darwin" }, "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="], + "playwright": ["playwright@1.63.0", "", { "dependencies": { "playwright-core": "1.63.0" }, "bin": { "playwright": "cli.js" } }, "sha512-+7ziBLidS4NaNCdt57SUDT+wYmmd5fmiQejUic/kb+YsYSCPyOOE9sebzMjNmQrsnNpDJqd4WHvV/8lfKfUDUg=="], - "playwright": ["playwright@1.58.2", "", { "dependencies": { "playwright-core": "1.58.2" }, "optionalDependencies": { "fsevents": "2.3.2" }, "bin": { "playwright": "cli.js" } }, "sha512-vA30H8Nvkq/cPBnNw4Q8TWz1EJyqgpuinBcHET0YVJVFldr8JDNiU9LaWAE1KqSkRYazuaBhTpB5ZzShOezQ6A=="], - - "playwright-core": ["playwright-core@1.58.2", "", { "bin": { "playwright-core": "cli.js" } }, "sha512-yZkEtftgwS8CsfYo7nm0KE8jsvm6i/PTgVtB8DL726wNf6H2IMsDuxCpJj59KDaxCtSnrWan2AeDqM7JBaultg=="], + "playwright-core": ["playwright-core@1.63.0", "", { "bin": { "playwright-core": "cli.js" } }, "sha512-rYCsBF/M5HjUch52bbtVONEFjv6Xu8sm8h72dNlR5bzIE1fvC/bxgspzkjSfU+MweEMmPM8KJebG6nnyxo5mCg=="], } } diff --git a/pkgs/id/e2e/bun.nix b/pkgs/id/e2e/bun.nix index 167b2d5b89..c6d4bc5973 100644 --- a/pkgs/id/e2e/bun.nix +++ b/pkgs/id/e2e/bun.nix @@ -13,20 +13,16 @@ ... }: { - "@playwright/test@1.58.2" = fetchurl { - url = "https://registry.npmjs.org/@playwright/test/-/test-1.58.2.tgz"; - hash = "sha512-akea+6bHYBBfA9uQqSYmlJXn61cTa+jbO87xVLCWbTqbWadRVmhxlXATaOjOgcBaWU4ePo0wB41KMFv3o35IXA=="; + "@playwright/test@1.63.0" = fetchurl { + url = "https://registry.npmjs.org/@playwright/test/-/test-1.63.0.tgz"; + hash = "sha512-oxMK4vllB9RK5NQ2l1pq1IfOf2AvnEuj/vYGDj0H2nMtmtZpKtCwt/l00GEO6xjGfpBNAvjovvYdCm50dRQkpQ=="; }; - "fsevents@2.3.2" = fetchurl { - url = "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"; - hash = "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="; + "playwright-core@1.63.0" = fetchurl { + url = "https://registry.npmjs.org/playwright-core/-/playwright-core-1.63.0.tgz"; + hash = "sha512-rYCsBF/M5HjUch52bbtVONEFjv6Xu8sm8h72dNlR5bzIE1fvC/bxgspzkjSfU+MweEMmPM8KJebG6nnyxo5mCg=="; }; - "playwright-core@1.58.2" = fetchurl { - url = "https://registry.npmjs.org/playwright-core/-/playwright-core-1.58.2.tgz"; - hash = "sha512-yZkEtftgwS8CsfYo7nm0KE8jsvm6i/PTgVtB8DL726wNf6H2IMsDuxCpJj59KDaxCtSnrWan2AeDqM7JBaultg=="; - }; - "playwright@1.58.2" = fetchurl { - url = "https://registry.npmjs.org/playwright/-/playwright-1.58.2.tgz"; - hash = "sha512-vA30H8Nvkq/cPBnNw4Q8TWz1EJyqgpuinBcHET0YVJVFldr8JDNiU9LaWAE1KqSkRYazuaBhTpB5ZzShOezQ6A=="; + "playwright@1.63.0" = fetchurl { + url = "https://registry.npmjs.org/playwright/-/playwright-1.63.0.tgz"; + hash = "sha512-+7ziBLidS4NaNCdt57SUDT+wYmmd5fmiQejUic/kb+YsYSCPyOOE9sebzMjNmQrsnNpDJqd4WHvV/8lfKfUDUg=="; }; } \ No newline at end of file diff --git a/pkgs/id/e2e/package.json b/pkgs/id/e2e/package.json index cf50f7a409..446f49a86b 100644 --- a/pkgs/id/e2e/package.json +++ b/pkgs/id/e2e/package.json @@ -9,6 +9,6 @@ "report": "playwright show-report" }, "devDependencies": { - "@playwright/test": "1.58.2" + "@playwright/test": "1.63.0" } } diff --git a/pkgs/id/flake.nix b/pkgs/id/flake.nix index 4dd8c8c5d3..af4f57e3b4 100644 --- a/pkgs/id/flake.nix +++ b/pkgs/id/flake.nix @@ -323,12 +323,14 @@ inherit buildInputs; nativeBuildInputs = nativeBuildInputs ++ [ bun2nixPkg.hook + pkgs.rustPlatform.cargoSetupHook # TODO: Switch back to `bunx playwright test` once Bun supports Playwright's # ESM config loader (.esm.preflight virtual imports). Bun's runtime doesn't handle # the Node.js-specific ESM hooks that Playwright uses for TypeScript config loading. # Tracking: https://github.com/oven-sh/bun/pull/28610 pkgs.nodejs ]; + inherit cargoDeps; inherit (opensslEnv) OPENSSL_DIR; inherit (opensslEnv) OPENSSL_LIB_DIR; inherit (opensslEnv) OPENSSL_INCLUDE_DIR; @@ -350,16 +352,6 @@ # @tailwindcss/cli uses @parcel/watcher (native module) which needs libstdc++ export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" - # Configure cargo to use vendored dependencies (nix sandbox has no network) - cat >> .cargo/config.toml << EOF - - [source.crates-io] - replace-with = "vendored-sources" - - [source.vendored-sources] - directory = "${cargoDeps}" - EOF - # Build web assets (bun2nix hook already installed node_modules via bunNodeModulesInstallPhase) (cd web && bun run build)