2023-03-07 15:52:48 +00:00
|
|
|
{
|
2023-06-25 18:03:29 +00:00
|
|
|
inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; };
|
2023-03-07 15:52:48 +00:00
|
|
|
|
2023-06-25 18:03:29 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2023-03-07 15:52:48 +00:00
|
|
|
}
|