File tree Expand file tree Collapse file tree 2 files changed +265
-0
lines changed Expand file tree Collapse file tree 2 files changed +265
-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+ flake-utils . inputs . nixpkgs . follows = "nixpkgs" ;
12+ } ;
13+
14+ outputs =
15+ {
16+ nixpkgs ,
17+ iguana ,
18+ flake-utils ,
19+ ...
20+ } :
21+ flake-utils . lib . eachDefaultSystem (
22+ system :
23+ let
24+ zigVersion = "0_14_0" ;
25+ iguanaLib = iguana . lib . ${ system } ;
26+
27+ pkgs = import nixpkgs {
28+ inherit system ;
29+ overlays = [
30+ ( iguanaLib . mkZigOverlay zigVersion )
31+ ( iguanaLib . mkZlsOverlay zigVersion )
32+ ] ;
33+ } ;
34+
35+ # This build pipeline is very unhappy without an FHS-compliant env.
36+ fhs = pkgs . buildFHSUserEnv {
37+ name = "fhs-shell" ;
38+ targetPkgs =
39+ pkgs : with pkgs ; [
40+ zig
41+ zls
42+ pkg-config
43+ cmake
44+ gperf
45+ expat . dev
46+ python3
47+ glib . dev
48+ glibc . dev
49+ zlib
50+ ninja
51+ gn
52+ gcc-unwrapped
53+ binutils
54+ clang
55+ clang-tools
56+ ] ;
57+ } ;
58+ in
59+ {
60+ devShells . default = fhs . env ;
61+ }
62+ ) ;
63+ }
You can’t perform that action at this time.
0 commit comments