about summary refs log tree commit diff
path: root/pkgs/tools/networking/n2n
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-06-19 17:33:45 +0300
committerDoron Behar <doron.behar@gmail.com>2023-06-19 17:33:45 +0300
commit8ce423e9c57a6e075a8b966bb6ee815c22c7cbdd (patch)
tree082473cc5574f97c65c55862715bcfc0071d2759 /pkgs/tools/networking/n2n
parent8fe6cacd959e7abbf8a4efc8b2c37f7ea6ba9bb5 (diff)
n2n: Add libcap support
Diffstat (limited to 'pkgs/tools/networking/n2n')
-rw-r--r--pkgs/tools/networking/n2n/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/networking/n2n/default.nix b/pkgs/tools/networking/n2n/default.nix
index 08028910f82af..cde49d1c392d9 100644
--- a/pkgs/tools/networking/n2n/default.nix
+++ b/pkgs/tools/networking/n2n/default.nix
@@ -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
   '';