nixpkgs/pkgs/os-specific/linux/libcap/pam.nix
Vladimír Čunát 54eef65533 libcap*: fix with multiple outputs
I don't think we need the license file in each of these,
so I only left it with the library (it isn't big).
2015-10-04 09:49:19 +02:00

15 lines
257 B
Nix

{stdenv, pam, libcap}:
assert stdenv.isLinux;
stdenv.mkDerivation rec {
name = "libcap-pam-${libcap.version}";
inherit (libcap) src;
buildInputs = [ libcap pam ];
preConfigure = "cd pam_cap";
makeFlags = "${libcap.makeFlags} PAM_CAP=yes";
}