Skip to content

Commit fc6344a

Browse files
authored
Unset the LD_LIBRARY_PATH on devshell (#324)
1 parent cdb1759 commit fc6344a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/build.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ rec {
267267
];
268268
shellHook = ''
269269
export PYTHONPATH=''${PYTHONPATH}:${extension}
270+
unset LD_LIBRARY_PATH
270271
'';
271272
};
272273
};
@@ -334,6 +335,7 @@ rec {
334335
${python}/bin/python -m venv --system-site-packages "${venvDir}"
335336
fi
336337
source "${venvDir}/bin/activate"
338+
unset LD_LIBRARY_PATH
337339
'';
338340
};
339341
};

0 commit comments

Comments
 (0)