From b5da9e1d55fe18c8b95e31f41a7797609a0f120a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Mar 2008 09:37:09 +0000 Subject: [PATCH] * Fixed an impurity in libcap that causes it to fail on non-NixOS systems: the makefile determines whether to build with PAM support by doing PAM_CAP ?= $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi) svn path=/nixpkgs/trunk/; revision=11285 --- pkgs/os-specific/linux/libcap/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/libcap/default.nix b/pkgs/os-specific/linux/libcap/default.nix index 034989448d97..2a773584bdb1 100644 --- a/pkgs/os-specific/linux/libcap/default.nix +++ b/pkgs/os-specific/linux/libcap/default.nix @@ -13,6 +13,6 @@ stdenv.mkDerivation { buildInputs = [attr]; preBuild = '' - makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man) + makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man PAM_CAP=no) ''; }