From 9b8a7bcafb303aba1bc27013c878dd68432a0d12 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sat, 15 Apr 2023 22:22:31 -0500 Subject: [PATCH] add LD_LIBRARY_PATH --- flake.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index ec46459..a372298 100644 --- a/flake.nix +++ b/flake.nix @@ -349,14 +349,15 @@ Env = [ "USER=root" "PATH=${lib.concatStringsSep ":" [ - "/root/.nix-profile/bin" - "/nix/var/nix/profiles/default/bin" - "/nix/var/nix/profiles/default/sbin" - ]}" + "/root/.nix-profile/bin" + "/nix/var/nix/profiles/default/bin" + "/nix/var/nix/profiles/default/sbin" + ]}" "MANPATH=${lib.concatStringsSep ":" [ - "/root/.nix-profile/share/man" - "/nix/var/nix/profiles/default/share/man" - ]}" + "/root/.nix-profile/share/man" + "/nix/var/nix/profiles/default/share/man" + ]}" + "LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib" "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" "GIT_SSL_CAINFO=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" "NIX_SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"