From ecf6d73f870dbabefff8c1323822c4653f15adf3 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 14 Jan 2024 12:31:07 -0500 Subject: [PATCH] nss_ldap: fix cross compilation --- pkgs/os-specific/linux/nss_ldap/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/nss_ldap/default.nix b/pkgs/os-specific/linux/nss_ldap/default.nix index 23bc8ff0dfad..7366932d1e67 100644 --- a/pkgs/os-specific/linux/nss_ldap/default.nix +++ b/pkgs/os-specific/linux/nss_ldap/default.nix @@ -29,7 +29,13 @@ stdenv.mkDerivation rec { mkdir -p $out/etc ''; - buildInputs = [ openldap perl ]; + nativeBuildInputs = [ + perl # shebang of vers_string + ]; + + buildInputs = [ + openldap + ]; meta = with lib; { description = "LDAP module for the Solaris Nameservice Switch (NSS)";