infra/tests/support/puppeteer-socket/puppeteer-run.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
200 B
Nix
Raw Normal View History

2024-08-27 11:17:30 +00:00
{ writeShellScriptBin, curl }:
writeShellScriptBin "puppeteer-run" ''
set -e
2024-08-27 11:17:30 +00:00
exec ${curl}/bin/curl --fail-with-body -X POST -d "$@" --unix-socket "/tmp/puppeteer.sock" http://puppeteer-socket
''