diff options
author | Janne Heß <janne@hess.ooo> | 2023-11-30 11:51:37 +0100 |
---|---|---|
committer | Janne Heß <janne@hess.ooo> | 2023-11-30 11:51:37 +0100 |
commit | 018175ecab4555d7042f8d743445c797f4a27d07 (patch) | |
tree | afd33b40b87fccd60ec7f6c905499c401ca89109 /nixos | |
parent | 0d44b5b7733e35fe17b34921c611c21f805068a9 (diff) | |
download | nixlib-018175ecab4555d7042f8d743445c797f4a27d07.tar nixlib-018175ecab4555d7042f8d743445c797f4a27d07.tar.gz nixlib-018175ecab4555d7042f8d743445c797f4a27d07.tar.bz2 nixlib-018175ecab4555d7042f8d743445c797f4a27d07.tar.lz nixlib-018175ecab4555d7042f8d743445c797f4a27d07.tar.xz nixlib-018175ecab4555d7042f8d743445c797f4a27d07.tar.zst nixlib-018175ecab4555d7042f8d743445c797f4a27d07.zip |
netbox: Inherit gunicorn from the package
I was using a 23.11 package on a NixOS 23.05 system and this caused the python that was used in gunicorn to differ from the python the postgres lib was linked against.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/netbox.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/netbox.nix b/nixos/modules/services/web-apps/netbox.nix index 3b9434e3d345..88d40b3abc52 100644 --- a/nixos/modules/services/web-apps/netbox.nix +++ b/nixos/modules/services/web-apps/netbox.nix @@ -317,7 +317,7 @@ in { serviceConfig = defaultServiceConfig // { ExecStart = '' - ${pkgs.python3Packages.gunicorn}/bin/gunicorn netbox.wsgi \ + ${pkg.gunicorn}/bin/gunicorn netbox.wsgi \ --bind ${cfg.listenAddress}:${toString cfg.port} \ --pythonpath ${pkg}/opt/netbox/netbox ''; |