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
redis
typing-extensions
] ++ lib.optional withLdap [
python-ldap
] ++ lib.optional withPostgres [
psycopg2
];
] ++ lib.optional withLdap python-ldap
++ lib.optional withPostgres psycopg2;
installPhase = ''
mkdir -p $out/bin $out/lib