File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 9090 '' ;
9191 } ;
9292
93+ # https://fzakaria.com/2025/02/26/nix-pragmatism-nix-ld-and-envfs
94+ # Enable nix-ld for better compatibility with non-Nix binaries
95+ programs . nix-ld = {
96+ enable = false ;
97+ # Add commonly needed libraries
98+ libraries = with pkgs ; [
99+ stdenv . cc . cc . lib
100+ zlib
101+ libxml2
102+ # Add more libraries as needed
103+ ] ;
104+ } ;
105+
106+ # Enable envfs for better compatibility with FHS expectations
107+ services . envfs = {
108+ enable = false ;
109+ } ;
110+
93111 # For OBS
94112 security . polkit . enable = true ;
95113
Original file line number Diff line number Diff line change 182182 # removing bazel and moving to the "nix develop" shell
183183 # # https://github.com/bazelbuild/bazel/tags
184184 # # https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/tools/build-managers/bazel/bazel_7/default.nix#L524
185- unstable . bazel_7
185+ # unstable.bazel_7
186186 unstable . bazel-buildtools
187+ unstable . bazelisk
187188
188189 unstable . code-cursor
189190
Original file line number Diff line number Diff line change 2727 #snmp seems to be needed by lldpd
2828 net-snmp
2929 neofetch
30+ #libxml2 # Added for bazel/clang development
3031
3132 # Wayland support
3233 xwayland
You can’t perform that action at this time.
0 commit comments