Skip to content

Commit

Permalink
pam: Use freebsd.pam on FreeBSD (#362689)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 authored Dec 11, 2024
2 parents bce6f85 + 4569170 commit 6cec999
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 @@ -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 )

Expand Down

0 comments on commit 6cec999

Please sign in to comment.