diff --git a/pkgs/build-support/rust/default-crate-overrides.nix b/pkgs/build-support/rust/default-crate-overrides.nix index 61cec2a6abab..eb58f72f5522 100644 --- a/pkgs/build-support/rust/default-crate-overrides.nix +++ b/pkgs/build-support/rust/default-crate-overrides.nix @@ -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 ];