diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-03-31 16:27:09 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-03-31 16:36:15 +0200 |
commit | 0d9ebe7535140c795738d9876f1792695a440af0 (patch) | |
tree | da8a608f1e8a766f7b0786cb961a2fe34402e2f8 | |
parent | b011d10cee253b5b9bfcbadc1b81e1b4f12b3ccc (diff) | |
download | nixlib-0d9ebe7535140c795738d9876f1792695a440af0.tar nixlib-0d9ebe7535140c795738d9876f1792695a440af0.tar.gz nixlib-0d9ebe7535140c795738d9876f1792695a440af0.tar.bz2 nixlib-0d9ebe7535140c795738d9876f1792695a440af0.tar.lz nixlib-0d9ebe7535140c795738d9876f1792695a440af0.tar.xz nixlib-0d9ebe7535140c795738d9876f1792695a440af0.tar.zst nixlib-0d9ebe7535140c795738d9876f1792695a440af0.zip |
ipv6calc: use new geolite-legacy package
GeoIP look-ups now actually work.
-rw-r--r-- | pkgs/tools/networking/ipv6calc/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/networking/ipv6calc/default.nix b/pkgs/tools/networking/ipv6calc/default.nix index 6dcb6e7f317d..9b676c6b72e2 100644 --- a/pkgs/tools/networking/ipv6calc/default.nix +++ b/pkgs/tools/networking/ipv6calc/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, geoip, getopt, openssl, perl }: +{ stdenv, fetchurl, geoip, geolite-legacy, getopt, openssl, perl }: stdenv.mkDerivation rec { version = "0.98.0"; @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "02r0r4lgz10ivbmgdzivj7dvry1aad75ik9vyy6irjvngjkzg5r3"; }; - buildInputs = [ geoip getopt openssl perl ]; + buildInputs = [ geoip geolite-legacy getopt openssl perl ]; patchPhase = '' for i in {,databases/}lib/Makefile.in; do @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { --disable-dynamic-load --enable-shared --enable-geoip - --with-geoip-db=${geoip}/share/GeoIP + --with-geoip-db=${geolite-legacy}/share/GeoIP ''; enableParallelBuilding = true; |