diff --git a/default.nix b/default.nix index 0fc040dfe..a7736cb86 100644 --- a/default.nix +++ b/default.nix @@ -1,5 +1,14 @@ { pkgs ? import {} }: pkgs.mkShell { - nativeBuildInputs = with pkgs; [ nodejs yarn ]; + nativeBuildInputs = with pkgs; [ + nodejs + yarn + cypress + ]; + + shellHook = '' + export CYPRESS_INSTALL_BINARY=0 + export CYPRESS_RUN_BINARY=${pkgs.cypress}/bin/Cypress + ''; }