Merge pull request #238590 from doronbehar/pkg/n2n

n2n: Add libcap support
This commit is contained in:
Nick Cao
2023-06-19 20:55:55 -06:00
committed by GitHub
+5 -1
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
'';