Add LD_LIBRARY_PATH

This commit is contained in:
Andreas Zweili 2023-12-20 15:11:42 +01:00
parent 2445ac82d0
commit 24a67d9ddd
1 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,12 @@
env = {
DJANGO_SETTINGS_MODULE = "network_inventory.settings.local";
PYTHON_KEYRING_BACKEND = "keyring.backends.fail.Keyring";
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.stdenv.cc.cc
# Add any missing library needed You can use the nix-index package
# to locate them, e.g.
# nix-locate -w --top-level --at-root /lib/libudev.so.1
];
};
languages.python = {
enable = true;