about summary refs log tree commit diff
path: root/pkgs/build-support/go
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-12-04 16:01:01 +0100
committerJörg Thalheim <joerg@thalheim.io>2022-12-04 16:42:53 +0100
commit4a94d77712e5d0e758e1df019542f97efe2999ae (patch)
tree2feaa01953a08ad5b89b2763eef303a4b5b16976 /pkgs/build-support/go
parent8ae7fa854163929ff417e183c3300d452fd267a3 (diff)
buildGo{module,package}: do not build with verbose flags
This creates a lot of noise that can hide actual compile errors.
Diffstat (limited to 'pkgs/build-support/go')
-rw-r--r--pkgs/build-support/go/module.nix2
-rw-r--r--pkgs/build-support/go/package.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/go/module.nix b/pkgs/build-support/go/module.nix
index 84d9023209d3d..647f2a2f7adcf 100644
--- a/pkgs/build-support/go/module.nix
+++ b/pkgs/build-support/go/module.nix
@@ -209,7 +209,7 @@ let
         flags+=($buildFlags "''${buildFlagsArray[@]}")
         flags+=(''${tags:+-tags=${lib.concatStringsSep "," tags}})
         flags+=(''${ldflags:+-ldflags="$ldflags"})
-        flags+=("-v" "-p" "$NIX_BUILD_CORES")
+        flags+=("-p" "$NIX_BUILD_CORES")
 
         if [ "$cmd" = "test" ]; then
           flags+=(-vet=off)
diff --git a/pkgs/build-support/go/package.nix b/pkgs/build-support/go/package.nix
index 957a65572b850..ba1ab37a0c0eb 100644
--- a/pkgs/build-support/go/package.nix
+++ b/pkgs/build-support/go/package.nix
@@ -168,7 +168,7 @@ let
         flags+=($buildFlags "''${buildFlagsArray[@]}")
         flags+=(''${tags:+-tags=${lib.concatStringsSep "," tags}})
         flags+=(''${ldflags:+-ldflags="$ldflags"})
-        flags+=("-v" "-p" "$NIX_BUILD_CORES")
+        flags+=("-p" "$NIX_BUILD_CORES")
 
         if [ "$cmd" = "test" ]; then
           flags+=(-vet=off)