util-linux: add missing libcap dependency

This commit is contained in:
uosis 2020-09-13 22:47:47 -06:00 committed by Alyssa Ross
parent d031d68892
commit 4acadd5e6d

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, zlib, shadow
{ lib, stdenv, fetchurl, pkg-config, zlib, shadow, libcap_ng
, ncurses ? null, perl ? null, pam, systemd ? null, minimal ? false }:
stdenv.mkDerivation rec {
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ zlib pam ]
[ zlib pam libcap_ng ]
++ lib.filter (p: p != null) [ ncurses systemd perl ];
doCheck = false; # "For development purpose only. Don't execute on production system!"