# Build pipeline for the filtered //views/kit workspace of depot. This
# pipeline is triggered by each build of canon.
#
# Pipeline status is visible on https://buildkite.com/tvl/tvl-kit

steps:
  - command: "nix-build --no-out-link -A besadii"
    label: ":nix: besadii"

  - command: "nix-build --no-out-link -A magrathea"
    label: ":nix: magrathea"

  - label: ":nix: lazy-deps"
    command: |
      nix-build -E 'with import ./. {}; lazy-deps { mg.attr = "magrathea"; }'
      result/bin/mg
