diff --git a/pkgs/tools/misc/mods/default.nix b/pkgs/by-name/mo/mods/package.nix similarity index 75% rename from pkgs/tools/misc/mods/default.nix rename to pkgs/by-name/mo/mods/package.nix index 331992986264..a653fb3de0c4 100644 --- a/pkgs/tools/misc/mods/default.nix +++ b/pkgs/by-name/mo/mods/package.nix @@ -1,9 +1,10 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, gitUpdater -, testers -, mods +{ + lib, + buildGoModule, + fetchFromGitHub, + gitUpdater, + testers, + mods, }: buildGoModule rec { @@ -19,7 +20,14 @@ buildGoModule rec { vendorHash = "sha256-BL5bxyeVkcm7GO1Kzk9d/hj2wY50UhauEFq9YQ/JbCE="; - ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; + ldflags = [ + "-s" + "-w" + "-X=main.Version=${version}" + ]; + + # These tests require internet access. + checkFlags = [ "-skip=^TestLoad/http_url$|^TestLoad/https_url$" ]; passthru = { updateScript = gitUpdater { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b330f35fd78f..7ac2f98ab11d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1067,8 +1067,6 @@ with pkgs; mod = callPackage ../development/tools/mod { }; - mods = callPackage ../tools/misc/mods { }; - mongosh = callPackage ../development/tools/mongosh { }; mya = callPackage ../applications/misc/mya { };