goBuildPackage: Add -x to the go build command if NIX_DEBUG >= 1

The -x go option prints all intermediate commands used by the Go
compiler. For instance, this is pretty useful to debug Go LD_FLAGS
because the used linker command is printed.

+4
+4
pkgs/development/go-modules/generic/default.nix
··· 151 151 fi 152 152 } 153 153 154 + if (( "''${NIX_DEBUG:-0}" >= 1 )); then 155 + buildFlagsArray+=(-x) 156 + fi 157 + 154 158 if [ ''${#buildFlagsArray[@]} -ne 0 ]; then 155 159 declare -p buildFlagsArray > $TMPDIR/buildFlagsArray 156 160 else