summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libcap/progs.nix
blob: 1b38848e77efb4aedd941ea050c97131fcaa9a7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{stdenv, libcap}:

assert stdenv.isLinux;

stdenv.mkDerivation rec {
  name = "libcap-progs-${libcap.version}";

  inherit (libcap) src makeFlags;

  buildInputs = [ libcap ];

  preConfigure = "cd progs";

  postInstall = libcap.postinst name;
}