1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/pkgs/os-specific/linux/pam_login/default.nix
Ludovic Courtès 0df57866a6 pam_login: Really apply `sys-stat-h.patch'.
svn path=/nixpkgs/trunk/; revision=21402
2010-04-28 12:37:06 +00:00

21 lines
457 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";
};
patches = [ ./sys-stat-h.patch ];
# To overcome a gcc 4.4 warning:
# "#ident is a deprecated GCC extension"
postPatch = ''
sed -i s/-Werror// configure
'';
buildInputs = [pam];
}