pam_pgsql: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 02:57:49 +02:00 committed by Martin Weinelt
parent 9fb94a820d
commit 94e54c6152
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, postgresql, libgcrypt, pam }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, postgresql, libgcrypt, pam, libxcrypt }:
stdenv.mkDerivation rec {
pname = "pam_pgsql";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libgcrypt pam postgresql ];
buildInputs = [ libgcrypt pam postgresql libxcrypt ];
meta = with lib; {
description = "Support to authenticate against PostgreSQL for PAM-enabled appliations";