gardesk/garcalc / 61a2065

Browse files

Add linker fallback for libxcb on Nix systems

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
61a206500572cf95a3bb29b690319a87c07c8701
Parents
7b8a137
Tree
94a9d01

1 changed file

StatusFile+-
A .cargo/config.toml 4 0
.cargo/config.tomladded
@@ -0,0 +1,4 @@
1
+[env]
2
+# NixOS: ensure linker can resolve system-shared X11 libs like libxcb.
3
+# This only applies when LIBRARY_PATH is not already set by the caller.
4
+LIBRARY_PATH = { value = "/run/current-system/sw/lib", force = false }