cyrus_sasl: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-24 20:36:34 +02:00 committed by Martin Weinelt
parent 194d852242
commit 872c524454
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, openssl, openldap, libkrb5, db, gettext
, pam, fixDarwinDylibNames, autoreconfHook, enableLdap ? false
, pam, libxcrypt, fixDarwinDylibNames, autoreconfHook, enableLdap ? false
, buildPackages, pruneLibtoolFiles, nixosTests }:
with lib;
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pruneLibtoolFiles ]
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
buildInputs =
[ openssl db gettext libkrb5 ]
[ openssl db gettext libkrb5 libxcrypt ]
++ lib.optional enableLdap openldap
++ lib.optional stdenv.isLinux pam;