1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-09 00:35:00 +00:00

chore: better direnv config for cypress

This commit is contained in:
Jalil Arfaoui 2025-02-06 16:10:31 +01:00
parent 603a13a7a0
commit eb497f0698

View file

@ -1,5 +1,14 @@
{ pkgs ? import <nixos-unstable> {} }:
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
'';
}