forked from mirrors/nixpkgs
n2n: Add libcap support
This commit is contained in:
parent
8fe6cacd95
commit
8ce423e9c5
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libcap }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "n2n";
|
pname = "n2n";
|
||||||
|
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libcap
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs autogen.sh
|
patchShebangs autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue