Skip to content

Commit

Permalink
iptables: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
poperigby committed Sep 3, 2024
1 parent 11fca2e commit 13b8998
Showing 1 changed file with 33 additions and 8 deletions.
41 changes: 33 additions & 8 deletions pkgs/os-specific/linux/iptables/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
{ lib, stdenv, fetchurl
, autoreconfHook, pkg-config, pruneLibtoolFiles, flex, bison
, libmnl, libnetfilter_conntrack, libnfnetlink, libnftnl, libpcap
, nftablesCompat ? true
, gitUpdater
{
lib,
stdenv,
fetchurl,
autoreconfHook,
pkg-config,
pruneLibtoolFiles,
flex,
bison,
libmnl,
libnetfilter_conntrack,
libnfnetlink,
libnftnl,
libpcap,
nftablesCompat ? true,
gitUpdater,
}:

stdenv.mkDerivation rec {
Expand All @@ -14,13 +25,27 @@ stdenv.mkDerivation rec {
sha256 = "XMJVwYk1bjF9BwdVzpNx62Oht4PDRJj7jDAmTzzFnJw=";
};

outputs = [ "out" "dev" "man" ];
outputs = [
"out"
"dev"
"man"
];

nativeBuildInputs = [
autoreconfHook pkg-config pruneLibtoolFiles flex bison
autoreconfHook
pkg-config
pruneLibtoolFiles
flex
bison
];

buildInputs = [ libmnl libnetfilter_conntrack libnfnetlink libnftnl libpcap ];
buildInputs = [
libmnl
libnetfilter_conntrack
libnfnetlink
libnftnl
libpcap
];

configureFlags = [
"--enable-bpf-compiler"
Expand Down

0 comments on commit 13b8998

Please sign in to comment.