-
-
Notifications
You must be signed in to change notification settings - Fork 231
Expand file tree
/
Copy pathshell.nix
More file actions
23 lines (23 loc) · 534 Bytes
/
shell.nix
File metadata and controls
23 lines (23 loc) · 534 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
pkgs ? import <nixpkgs> { },
unstablePkgs ? import <nixpkgs> { },
}:
with pkgs;
mkShell {
buildInputs = [
nodejs_22
yarn
bash
vsce
];
nativeBuildInputs = [
unstablePkgs.playwright.browsers # 1.50.1
# NOTE: ^ The version needs to match the version of playwright in @vscode/test-web
];
shellHook = ''
# ...
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
export PLAYWRIGHT_BROWSERS_PATH=${unstablePkgs.playwright.browsers}
export PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS=true
'';
}