ipv6calc: make geoip and geolite-legacy "optional"
This commit is contained in:
parent
0c00290fbb
commit
72fd2a609c
@ -21,14 +21,16 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = [
|
||||||
--disable-bundled-getopt
|
"--disable-bundled-getopt"
|
||||||
--disable-bundled-md5
|
"--disable-bundled-md5"
|
||||||
--disable-dynamic-load
|
"--disable-dynamic-load"
|
||||||
--enable-shared
|
"--enable-shared"
|
||||||
--enable-geoip
|
] ++ stdenv.lib.optional (geoip != null ) [
|
||||||
--with-geoip-db=${geolite-legacy}/share/GeoIP
|
"--enable-geoip"
|
||||||
'';
|
] ++ stdenv.lib.optional (geolite-legacy != null) [
|
||||||
|
"--with-geoip-db=${geolite-legacy}/share/GeoIP"
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user