pam: Use freebsd.pam on FreeBSD (#362689)

This commit is contained in:
John Ericson
2024-12-11 00:56:03 -05:00
committed by GitHub
+7 -1
View File
@@ -12562,7 +12562,13 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
pam = if stdenv.hostPlatform.isLinux then linux-pam else openpam;
pam =
if stdenv.hostPlatform.isLinux then
linux-pam
else if stdenv.hostPlatform.isFreeBSD then
freebsd.libpam
else
openpam;
# pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader )