diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml
index d97e810b94c1..5009ef4d873b 100644
--- a/nixos/doc/manual/release-notes/rl-2009.xml
+++ b/nixos/doc/manual/release-notes/rl-2009.xml
@@ -664,6 +664,11 @@ services.postgresql.dataDir = "/var/db/postgresql";
The default output of buildGoPackage is now $out instead of $bin.
+
+
+ buildGoModule doCheck now defaults to true.
+
+
Packages built using buildRustPackage now use release
diff --git a/pkgs/development/go-modules/generic/default.nix b/pkgs/development/go-modules/generic/default.nix
index 68a4fe8dd6ad..25b031a8229d 100644
--- a/pkgs/development/go-modules/generic/default.nix
+++ b/pkgs/development/go-modules/generic/default.nix
@@ -210,7 +210,7 @@ let
runHook postBuild
'';
- doCheck = args.doCheck or false;
+ doCheck = args.doCheck or true;
checkPhase = args.checkPhase or ''
runHook preCheck