From e908a27884d01183cce7b5d8182f9eb0cbd93283 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 1 Jan 2024 07:47:55 -0600 Subject: [PATCH] fix(nix-hm): ensure c libs are correctly found on path This is necessary for Arch --- config/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/default.nix b/config/default.nix index e8d050a9..4ce70dab 100644 --- a/config/default.nix +++ b/config/default.nix @@ -35,6 +35,7 @@ in yamllint curl llvm + llvmPackages.libcxxStdenv openssh openssl wget @@ -52,6 +53,7 @@ in fzf delta eza + nixd luajit ripgrep fd @@ -69,6 +71,10 @@ in direnv passage swappy + openssl + glibc + openssl.dev + glibc.static ]; @@ -92,6 +98,8 @@ in sessionVariables = { GTK_THEME = "Kanagawa-Borderless"; QT_QPA_PLATFORMTHEME = "${gtkStyle}"; + LD_LIBRARY_PATH = "${config.home.homeDirectory}/.nix-profile/lib"; + PKG_CONFIG_PATH = "${config.home.homeDirectory}/.nix-profile/lib/pkgconfig"; }; };