tekton.nix (507B)
1 { pkgs ? import <nixpkgs> { }, ... }: 2 let 3 go = pkgs.go_1_18; 4 in 5 pkgs.mkShell { 6 name = "tektoncd"; 7 buildInputs = with pkgs; [ 8 go 9 ko 10 oc 11 my.tkn 12 my.operator-tool 13 google-cloud-sdk 14 gron 15 yamllint 16 ]; 17 shellHook = '' 18 export GOMODULE=on 19 export GOFLAGS="-mod=vendor" 20 export GOROOT=${go}/share/go 21 export GOMAXPROCS=8 22 export KUSTOMIZE_BIN=${pkgs.kustomize}/bin/kustomize 23 export KO_BIN=${pkgs.ko}/bin/ko 24 export KO_DOCKER_REPO=gcr.io/vde-tekton 25 ''; 26 }