diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-06-19 17:33:45 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-06-19 17:33:45 +0300 |
commit | 8ce423e9c57a6e075a8b966bb6ee815c22c7cbdd (patch) | |
tree | 082473cc5574f97c65c55862715bcfc0071d2759 /pkgs/tools | |
parent | 8fe6cacd959e7abbf8a4efc8b2c37f7ea6ba9bb5 (diff) |
n2n: Add libcap support
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/n2n/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/networking/n2n/default.nix b/pkgs/tools/networking/n2n/default.nix index 08028910f82a..cde49d1c392d 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 ''; |