mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
n2n: Add libcap support
This commit is contained in:
parent
8fe6cacd95
commit
8ce423e9c5
@ -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
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user