mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
libcap: with pam, just set prefix and lib
svn path=/nixpkgs/branches/stdenv-updates/; revision=23960
This commit is contained in:
parent
2221432acd
commit
c911c64f9b
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, attr, perl}:
|
||||
{stdenv, fetchurl, attr, perl, pam}:
|
||||
|
||||
assert stdenv.isLinux;
|
||||
|
||||
@ -11,9 +11,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildNativeInputs = [perl];
|
||||
buildInputs = [attr];
|
||||
buildInputs = [attr pam];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man PAM_CAP=no)
|
||||
'';
|
||||
makeFlags = "PAM_CAP=yes lib=lib prefix=$(out)";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user