15 lines
450 B
Nix
15 lines
450 B
Nix
{
|
|
inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; };
|
|
|
|
outputs = { self, nixpkgs }:
|
|
with nixpkgs.legacyPackages.x86_64-linux; {
|
|
devShell.x86_64-linux = mkShell {
|
|
buildInputs = [ nodejs chromium playwright playwright.browsers ];
|
|
shellHook = ''
|
|
export PLAYWRIGHT_BROWSERS_PATH=${playwright.browsers}
|
|
export PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS=true
|
|
'';
|
|
};
|
|
};
|
|
}
|