Merge pull request #214543 from felschr/etebase-server-fix

etebase-server: fix optional dependencies
This commit is contained in:
Nick Cao
2023-02-11 20:25:53 +08:00
committed by GitHub
+2 -5
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