n2n: Add libcap support

This commit is contained in:
Doron Behar 2023-06-19 17:33:45 +03:00
parent 8fe6cacd95
commit 8ce423e9c5

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libcap }:
stdenv.mkDerivation rec {
pname = "n2n";
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [
libcap
];
postPatch = ''
patchShebangs autogen.sh
'';