File tree Expand file tree Collapse file tree 2 files changed +264
-0
lines changed Expand file tree Collapse file tree 2 files changed +264
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ description = "headless browser designed for AI and automation" ;
3+
4+ inputs = {
5+ nixpkgs . url = "github:nixos/nixpkgs/release-24.11" ;
6+
7+ iguana . url = "github:mookums/iguana" ;
8+ iguana . inputs . nixpkgs . follows = "nixpkgs" ;
9+
10+ flake-utils . url = "github:numtide/flake-utils" ;
11+ } ;
12+
13+ outputs =
14+ {
15+ nixpkgs ,
16+ iguana ,
17+ flake-utils ,
18+ ...
19+ } :
20+ flake-utils . lib . eachDefaultSystem (
21+ system :
22+ let
23+ zigVersion = "0_14_0" ;
24+ iguanaLib = iguana . lib . ${ system } ;
25+
26+ pkgs = import nixpkgs {
27+ inherit system ;
28+ overlays = [
29+ ( iguanaLib . mkZigOverlay zigVersion )
30+ ( iguanaLib . mkZlsOverlay zigVersion )
31+ ] ;
32+ } ;
33+
34+ # This build pipeline is very unhappy without an FHS-compliant env.
35+ fhs = pkgs . buildFHSUserEnv {
36+ name = "fhs-shell" ;
37+ targetPkgs =
38+ pkgs : with pkgs ; [
39+ zig
40+ zls
41+ pkg-config
42+ cmake
43+ gperf
44+ expat . dev
45+ python3
46+ glib . dev
47+ glibc . dev
48+ zlib
49+ ninja
50+ gn
51+ gcc-unwrapped
52+ binutils
53+ clang
54+ clang-tools
55+ ] ;
56+ } ;
57+ in
58+ {
59+ devShells . default = fhs . env ;
60+ }
61+ ) ;
62+ }
You can’t perform that action at this time.
0 commit comments