home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

tektoncd.shell.nix (507B)


      1 let
      2   sources = import /etc/nixos/nix;
      3   # pkgs = sources.nixpkgs { };
      4   pkgs = sources.pkgs-unstable { };
      5   my = import /etc/nixos/nix/packages { pkgs = pkgs; };
      6 in
      7 pkgs.mkShell {
      8   name = "tektoncd";
      9   buildInputs = with pkgs; [
     10     my.ko
     11     my.oc
     12     my.tkn
     13     google-cloud-sdk
     14     gron
     15   ];
     16   shellHook = ''
     17     export GOMODULE=on
     18     export GOFLAGS="-mod=vendor"
     19     export GOROOT=${pkgs.go}/share/go
     20     export KUSTOMIZE_BIN=${pkgs.kustomize}/bin/kustomize
     21     export KO_BIN=${my.ko}/bin/ko
     22   '';
     23 }