nixpkgs/pkgs/os-specific/linux/pam_login/default.nix
Lluís Batlle i Rossell 57e123fe6c Made pam_login build with gcc 4.4 (disabling its -Werror)
svn path=/nixpkgs/branches/stdenv-updates/; revision=19130
2009-12-26 11:18:59 +00:00

19 lines
421 B
Nix

{stdenv, fetchurl, pam}:
stdenv.mkDerivation {
name = "pam_login-3.35";
src = fetchurl {
url = ftp://ftp.suse.com/pub/people/kukuk/pam/pam_login/pam_login-3.35.tar.bz2;
sha256 = "1w2hpwjhmwjhf8rg789xpl0hibahqlr3ccivfy3m4kgrm5gf04kv";
};
# To overcome a gcc 4.4 warning:
# "#ident is a deprecated GCC extension"
patchPhase = ''
sed -i s/-Werror// configure
'';
buildInputs = [pam];
}