Skip to content

Instantly share code, notes, and snippets.

@dfrankland
Created October 5, 2021 03:21
Show Gist options
  • Save dfrankland/5c5609a89fcc0e542c7deed1b106cfef to your computer and use it in GitHub Desktop.
Save dfrankland/5c5609a89fcc0e542c7deed1b106cfef to your computer and use it in GitHub Desktop.
Quickly create an environment to run Cypress within nix
nix-shell -E 'with import <nixpkgs> { }; runCommand "dummy" { buildInputs = [ cypress ]; shellHook = "export CYPRESS_INSTALL_BINARY=0 CYPRESS_RUN_BINARY=${cypress}/bin/Cypress;"; } ""'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment