We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf63d69 commit c9b316cCopy full SHA for c9b316c
.devops/nix/package.nix
@@ -221,15 +221,12 @@ effectiveStdenv.mkDerivation (
221
;
222
223
shell = mkShell {
224
- NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
225
- effectiveStdenv.cc.cc
226
- ];
227
name = "shell-${finalAttrs.finalPackage.name}";
228
description = "contains numpy and sentencepiece";
229
buildInputs = [ llama-python ];
230
inputsFrom = [ finalAttrs.finalPackage ];
231
shellHook = ''
232
- export LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH
+ addToSearchPath "LD_LIBRARY_PATH" "${lib.getLib effectiveStdenv.cc.cc}/lib"
233
'';
234
};
235
0 commit comments