File tree Expand file tree Collapse file tree 2 files changed +21
-12
lines changed Expand file tree Collapse file tree 2 files changed +21
-12
lines changed Original file line number Diff line number Diff line change 2
2
description = "headless browser designed for AI and automation" ;
3
3
4
4
inputs = {
5
- nixpkgs . url = "github:nixos/nixpkgs/nixpkgs-unstable " ;
5
+ nixpkgs . url = "github:nixos/nixpkgs/release-25.05 " ;
6
6
flake-utils . url = "github:numtide/flake-utils" ;
7
7
} ;
8
8
19
19
inherit system ;
20
20
} ;
21
21
22
+ # We need crtbeginS.o for building.
23
+ crtFiles = pkgs . runCommand "crt-files" { } ''
24
+ mkdir -p $out/lib
25
+ cp -r ${ pkgs . gcc . cc } /lib/gcc $out/lib/gcc
26
+ '' ;
27
+
22
28
# This build pipeline is very unhappy without an FHS-compliant env.
23
29
fhs = pkgs . buildFHSEnv {
24
30
name = "fhs-shell" ;
31
+ multiArch = true ;
25
32
targetPkgs =
26
33
pkgs : with pkgs ; [
34
+ # Build Tools
27
35
zig
28
36
zls
37
+ python3
29
38
pkg-config
30
39
cmake
31
40
gperf
41
+
42
+ # GCC
43
+ gcc
44
+ gcc . cc . lib
45
+ crtFiles
46
+
47
+ # Libaries
32
48
expat . dev
33
- python3
34
49
glib . dev
35
50
glibc . dev
36
51
zlib
37
- ninja
38
- gn
39
- gcc-unwrapped
40
- binutils
41
- clang
42
- clang-tools
43
52
] ;
44
53
} ;
45
54
in
You can’t perform that action at this time.
0 commit comments