Unverified Commit 6a0f2c7b authored by Moraxyc's avatar Moraxyc
Browse files

mmdbctl: use native way to refer the mmdb path

parent 170e5ef0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -38,8 +38,8 @@ buildGoModule rec {

  passthru.tests = {
    simple = runCommand "${pname}-test" { } ''
      ${lib.getExe mmdbctl} verify ${dbip-country-lite}/share/dbip/dbip-country-lite.mmdb | grep valid
      ${lib.getExe mmdbctl} metadata ${dbip-country-lite}/share/dbip/dbip-country-lite.mmdb | grep DBIP-Country-Lite
      ${lib.getExe mmdbctl} verify ${dbip-country-lite.mmdb} | grep valid
      ${lib.getExe mmdbctl} metadata ${dbip-country-lite.mmdb} | grep DBIP-Country-Lite
      touch $out
    '';
  };