Playwright from nixpkgs fails to spawn its bundled browsers on intel mac mini.
Steps To Reproduce
You could install playwright-test from nixpkgs and try to run any simple test on an intel mac. A simplified way to reproduce the error would be:
$ nix-shell -p playwright-test
$ /nix/store/*-playwright-browsers-*/chromium-*/chrome-mac/Chromium.app/Contents/MacOS/Chromium
bash: /nix/store/0i01pg9v730idi1zyj5yvqdv7g0f9dd4-playwright-browsers-1.38.0/chromium-1080/chrome-mac/Chromium.app/Contents/MacOS/Chromium:
Bad CPU type in executable
if you try to run any simple playwright test, you will receive an error like below:
Describe the bug
Playwright from nixpkgs fails to spawn its bundled browsers on intel mac mini.
Steps To Reproduce
You could install playwright-test from nixpkgs and try to run any simple test on an intel mac. A simplified way to reproduce the error would be:
if you try to run any simple playwright test, you will receive an error like below:
trying to run the bundled browser referenced in the error above directly:
you get the error:
Bad CPU type in executable
Expected behavior
Playwright should be able to spawn the browsers and proceed with the tests you asked it to run
Notify maintainers
@teto
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.