about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index e2c1a5650fcf..b2f1c284fb20 100644
--- a/default.nix
+++ b/default.nix
@@ -23,7 +23,9 @@ with pkgs; buildGoPackage rec {
   # Enable checks and configure check-phase to include vet:
   doCheck = true;
   preCheck = ''
-    getGoDirs "" | parallel -j $NIX_BUILD_CORES buildGoDir vet
+    for pkg in $(getGoDirs ""); do
+      buildGoDir vet "$pkg"
+    done
   '';
 
   meta = with lib; {