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:
parent
603a13a7a0
commit
eb497f0698
1 changed files with 10 additions and 1 deletions
11
default.nix
11
default.nix
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue