etebase-server: fix optional dependencies

This commit is contained in:
Felix Schröter 2023-02-04 13:42:28 +01:00
parent a13e71c8e6
commit 7197d45919
No known key found for this signature in database
GPG key ID: 671E39E6744C807D

View file

@ -36,11 +36,8 @@ buildPythonPackage rec {
pynacl pynacl
redis redis
typing-extensions typing-extensions
] ++ lib.optional withLdap [ ] ++ lib.optional withLdap python-ldap
python-ldap ++ lib.optional withPostgres psycopg2;
] ++ lib.optional withPostgres [
psycopg2
];
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/lib mkdir -p $out/bin $out/lib