From 00ee4629fc105320ebcd2e82879808fdb3336488 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 17 Nov 2023 16:25:44 +0000 Subject: [PATCH] hosts: homes: mousqueton: update 'LD_PRELOAD' I was getting dynamic linker errors with the previous value. --- hosts/homes/ambroisie@mousqueton/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/homes/ambroisie@mousqueton/default.nix b/hosts/homes/ambroisie@mousqueton/default.nix index 7fcd356..8294ff4 100644 --- a/hosts/homes/ambroisie@mousqueton/default.nix +++ b/hosts/homes/ambroisie@mousqueton/default.nix @@ -6,11 +6,11 @@ # Some tooling (e.g: SSH) need to use this library home.sessionVariables = { - LD_PRELOAD = "/lib/x86_64-linux-gnu/libnss_cache.so.2\${LD_PRELOAD:+:}$LD_PRELOAD"; + LD_PRELOAD = "/usr/grte/v5/lib64/libnss_cache.so.2\${LD_PRELOAD:+:}$LD_PRELOAD"; }; systemd.user.sessionVariables = { - LD_PRELOAD = "/lib/x86_64-linux-gnu/libnss_cache.so.2\${LD_PRELOAD:+:}$LD_PRELOAD"; + LD_PRELOAD = "/usr/grte/v5/lib64/libnss_cache.so.2\${LD_PRELOAD:+:}$LD_PRELOAD"; }; programs.git.package = lib.mkForce pkgs.emptyDirectory;