openssh: Let $NIXPKGS_CONFIG determine whether OpenSSH supports PAM or not.
PAM is enabled by default, as before. To disable it, set openssh { pam = false; }; or simply pam = false; in ~/.nixpkgs/config.nix. svn path=/nixpkgs/trunk/; revision=12312
This commit is contained in:
parent
4793092374
commit
fff2917058
@ -895,7 +895,7 @@ let pkgs = rec {
|
||||
|
||||
openssh = import ../tools/networking/openssh {
|
||||
inherit fetchurl stdenv zlib openssl pam perl;
|
||||
pamSupport = true;
|
||||
pamSupport = getPkgConfig "openssh" "pam" true;
|
||||
};
|
||||
|
||||
p7zip = import ../tools/archivers/p7zip {
|
||||
|
Loading…
Reference in New Issue
Block a user