mrtg: add ipv6-required perl packages
This commit is contained in:
parent
0b49ef697b
commit
c95f967105
@ -1,5 +1,11 @@
|
||||
{ lib, stdenv, fetchurl, perl, gd, rrdtool }:
|
||||
|
||||
let
|
||||
perlWithPkgs = perl.withPackages (pp: with pp;[
|
||||
Socket6
|
||||
IOSocketINET6
|
||||
]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mrtg";
|
||||
version = "2.17.10";
|
||||
@ -10,7 +16,9 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
perl
|
||||
# add support for ipv6 snmp:
|
||||
# https://github.com/oetiker/mrtg/blob/433ebfa5fc043971b46a5cd975fb642c76e3e49d/src/bin/mrtg#L331-L341
|
||||
perlWithPkgs
|
||||
gd
|
||||
rrdtool
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user