tvl-depot/overrides/kontemplate/default.nix
Vincent Ambo db30770101 fix(kontemplate): Make build compatible with readTree
The kontemplate build will keep using `buildGoPackage` for now until
I've had the time to add tests to //nix/buildGo
2019-12-20 22:19:52 +00:00

13 lines
303 B
Nix

{ pkgs, ... }:
with pkgs;
third_party.writeShellScriptBin "kontemplate" ''
export PATH="${ops.kms_pass}/bin:$PATH"
if [[ -z $1 ]]; then
exec ${ops.kontemplate}/bin/kontemplate
fi
exec ${ops.kontemplate}/bin/kontemplate $1 ${./../..}/ops/infra/kubernetes/primary-cluster.yaml ''${@:2}
''