util-linux: add missing libcap dependency

launchpad/nixpkgs/master
uosis 4 years ago committed by Alyssa Ross
parent d031d68892
commit 4acadd5e6d
  1. 4
      pkgs/os-specific/linux/util-linux/default.nix

@ -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!"

Loading…
Cancel
Save