From 477258855385687c7e415b110d3b1f4cd4092a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 4 Jun 2010 12:13:09 +0000 Subject: [PATCH] Disabling libxcrypt on armv5tel-linux (it does not build trivially). As a consequence, we will end up having MD5 passwords in passwd. pam_unix will fallback to md5 if the requested hash algorithm is not available in crypt. svn path=/nixpkgs/trunk/; revision=22141 --- pkgs/os-specific/linux/pam/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix index a06f3975b27..59c2deab47f 100644 --- a/pkgs/os-specific/linux/pam/default.nix +++ b/pkgs/os-specific/linux/pam/default.nix @@ -8,7 +8,8 @@ stdenv.mkDerivation { sha256 = "015r3xdkjpqwcv4lvxavq0nybdpxhfjycqpzbx8agqd5sywkx3b0"; }; - buildInputs = [ flex cracklib libxcrypt ]; + buildInputs = [ flex cracklib ] + ++ stdenv.lib.optional (stdenv.system != "armv5tel-linux") libxcrypt; preConfigure = '' configureFlags="$configureFlags --includedir=$out/include/security"