rust: fix build of pam-sys package

This commit is contained in:
tekeri 2021-08-15 15:55:20 +09:00
parent 000973d1a1
commit 2419ea4aff

View file

@ -1,7 +1,7 @@
{ lib, stdenv, pkg-config, curl, darwin, libiconv, libgit2, libssh2,
openssl, sqlite, zlib, dbus, dbus-glib, gdk-pixbuf, cairo, python3,
libsodium, postgresql, gmp, foundationdb, capnproto, nettle, clang,
llvmPackages, ... }:
llvmPackages, linux-pam, ... }:
let
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
@ -104,6 +104,10 @@ in
buildInputs = [ openssl ];
};
pam-sys = attr: {
buildInputs = [ linux-pam ];
};
pq-sys = attr: {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ postgresql ];