Merge pull request #134119 from tekeri/rust-crate-override-pamsys

rust: fix build of pam-sys package
This commit is contained in:
Jörg Thalheim 2021-08-15 09:35:22 +01:00 committed by GitHub
commit ec9f44e541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];