Skip to content

Commit

Permalink
pam: Use freebsd.pam on FreeBSD
Browse files Browse the repository at this point in the history
FreeBSD pam is based on openpam, but is not exactly the same.
Use FreeBSD pam for better compatibility with existing FreeBSD
configurations and code.
  • Loading branch information
artemist committed Dec 7, 2024
1 parent 0abc80d commit 4569170
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12572,7 +12572,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 )

Expand Down

0 comments on commit 4569170

Please sign in to comment.