File tree Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ description = "Synthesis' Web-Based Robotics Simulator" ;
3+
4+ inputs . nixpkgs . url = "github:nixos/nixpkgs/nixos-unstable" ;
5+
6+ outputs =
7+ inputs :
8+ let
9+ supportedSystems = [
10+ "x86_64-linux"
11+ "aarch64-linux"
12+ "x86_64-darwin"
13+ "aarch64-darwin"
14+ ] ;
15+ forEachSupportedSystem =
16+ f : inputs . nixpkgs . lib . genAttrs supportedSystems ( system : f inputs . nixpkgs . legacyPackages . ${ system } ) ;
17+ in
18+ {
19+ devShells = forEachSupportedSystem ( pkgs : {
20+ default = pkgs . mkShell {
21+ nativeBuildInputs = with pkgs ; [
22+ playwright-driver . browsers
23+ ] ;
24+
25+ env = {
26+ PLAYWRIGHT_BROWSERS_PATH = pkgs . playwright-driver . browsers ;
27+ PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS = true ;
28+ } ;
29+ } ;
30+ } ) ;
31+
32+ formatter = forEachSupportedSystem ( pkgs : pkgs . nixfmt-tree ) ;
33+ } ;
34+ }
You can’t perform that action at this time.
0 commit comments