commit a0a65d99ac6701d3b20c69f999826aeb4ad9eb1e
parent 80f87205f5258a22a55ea8b6e288308d66936fe1
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 2 Dec 2021 17:03:50 +0100
users/vincent: add GOMAXPROCS to tekton shell…
… idea is to try to make go compile less resource hungry.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/users/vincent/dev/src/tektoncd.shell.nix b/users/vincent/dev/src/tektoncd.shell.nix
@@ -19,6 +19,7 @@ pkgs.mkShell {
export GOMODULE=on
export GOFLAGS="-mod=vendor"
export GOROOT=${go}/share/go
+ export GOMAXPROCS=8
export KUSTOMIZE_BIN=${pkgs.kustomize}/bin/kustomize
export KO_BIN=${my.ko}/bin/ko
'';