1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

mtr: Only include libcap on Darwin

Fixes #66688
This commit is contained in:
John Wiegley 2019-08-15 11:29:13 -07:00
parent 3553c9948c
commit 2edd7103da
No known key found for this signature in database
GPG key ID: C144D8F4F19FE630

View file

@ -30,7 +30,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libcap ncurses ] ++ stdenv.lib.optional withGtk gtk2;
buildInputs = [ ncurses ]
++ stdenv.lib.optional withGtk gtk2
++ stdenv.lib.optional stdenv.isLinux libcap;
enableParallelBuilding = true;