projet-long/flake.nix
2023-06-25 20:03:29 +02:00

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
'';
};
};
}