3
0
Fork 0
forked from mirrors/nixpkgs

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
commit bbbb5dc2b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
''; '';