Skip to content

Commit c08bad8

Browse files
ldd
1 parent 7799700 commit c08bad8

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

laptops/t/configuration.nix

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,24 @@
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

laptops/t/home.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,9 @@
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

laptops/t/systemPackages.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
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

0 commit comments

Comments
 (0)