Created
October 5, 2021 03:21
-
-
Save dfrankland/5c5609a89fcc0e542c7deed1b106cfef to your computer and use it in GitHub Desktop.
Quickly create an environment to run Cypress within nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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