diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b7ac997840089..9223b9e425306 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 )