summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.devops/nix/package.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/.devops/nix/package.nix b/.devops/nix/package.nix
index 91ddb889..a868a9a6 100644
--- a/.devops/nix/package.nix
+++ b/.devops/nix/package.nix
@@ -221,15 +221,12 @@ effectiveStdenv.mkDerivation (
;
shell = mkShell {
- NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
- effectiveStdenv.cc.cc
- ];
name = "shell-${finalAttrs.finalPackage.name}";
description = "contains numpy and sentencepiece";
buildInputs = [ llama-python ];
inputsFrom = [ finalAttrs.finalPackage ];
shellHook = ''
- export LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH
+ addToSearchPath "LD_LIBRARY_PATH" "${lib.getLib effectiveStdenv.cc.cc}/lib"
'';
};