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.

9 lines
183 B
Nix
Raw Normal View History

{
writeShellScriptBin,
curl
}: writeShellScriptBin "puppeteer-run" ''
set -e
exec ${curl}/bin/curl -X POST -d "$@" --unix-socket "/tmp/puppeteer.sock" http://puppeteer-socket
''