openldap: fix cross-compilation

This commit is contained in:
Rick van Schijndel 2022-05-22 23:44:55 +02:00
parent 107b6041bc
commit be2ceef4f1

View file

@ -68,6 +68,9 @@ stdenv.mkDerivation rec {
# contrib modules require these
"moduledir=${placeholder "out"}/lib/modules"
"mandir=${placeholder "out"}/share/man"
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
# Can be unconditional, doing it like this to prevent a mass rebuild.
"STRIP_OPTS="
];
extraContribModules = [