osp.nix (608B)
1 { pkgs ? import <nixpkgs> { 2 overlays = [ 3 (self: super: { }) 4 ]; 5 } 6 , ... 7 }: 8 let 9 go = pkgs.go_1_18; 10 in 11 pkgs.mkShell { 12 name = "osp"; 13 buildInputs = with pkgs; [ 14 curl 15 docker-client 16 gawk 17 git-crypt 18 gnumake 19 gron 20 jq 21 kustomize 22 oc 23 operator-sdk 24 my.operator-tool 25 tektoncd-cli 26 opm 27 python39Packages.pyaml 28 skopeo 29 yq-go 30 yamllint 31 go 32 ]; 33 shellHook = '' 34 export GOMODULE=on 35 export GOFLAGS="-mod=vendor" 36 export GOROOT=${go}/share/go 37 export GOMAXPROCS=8 38 export KUSTOMIZE_BIN=${pkgs.kustomize}/bin/kustomize 39 ''; 40 }