git.iko.soy/typeable/nixpkgs
on master help sign in
ipv6calc: use new geolite-legacy package

GeoIP look-ups now actually work.

commit0d9ebe7535140c795738d9876f1792695a440af0 authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateTue 31 Mar 2015, 16:27 (12 years ago) parentb011d10
1 file changed+3−3
pkgs/tools/networking/ipv6calc/default.nix+3−3
pkgs/tools/networking/ipv6calc/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, geoip, getopt, openssl, perl }:
1+{ stdenv, fetchurl, geoip, geolite-legacy, getopt, openssl, perl }:
22
33stdenv.mkDerivation rec {
44 version = "0.98.0";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "02r0r4lgz10ivbmgdzivj7dvry1aad75ik9vyy6irjvngjkzg5r3";
1010 };
1111
12− buildInputs = [ geoip getopt openssl perl ];
12+ buildInputs = [ geoip geolite-legacy getopt openssl perl ];
1313
1414 patchPhase = ''
1515 for i in {,databases/}lib/Makefile.in; do
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 --disable-dynamic-load
2727 --enable-shared
2828 --enable-geoip
29− --with-geoip-db=${geoip}/share/GeoIP
29+ --with-geoip-db=${geolite-legacy}/share/GeoIP
3030 '';
3131
3232 enableParallelBuilding = true;