Because the passing around of externalArgs only happened in the readTree
instantiation in the repo root default.nix, but not in views/kit/
default.nix, it was not possible to get tvl-kit to instantiate the
bundled nixpkgs with a custom system.
This fixes invocations like
```
tvl-kit = import (sources.tvl-kit) { localSystem = "aarch64-linux"; };
```
Change-Id: I3a633e4d695d266459400ba74fc0693ecc5bfb54
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8197
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
|
||
|---|---|---|
| .. | ||
| buildkite.yml | ||
| default.nix | ||
| README.md | ||
| workspace.josh | ||
The TVL Kit
This folder contains a publicly available version of the core TVL tooling, currently comprising of:
buildkite: TVL tooling for dynamically generating Buildkite pipelines with Nix.buildGo: Nix-based build system for Go.readTree: Nix library to dynamically compute attribute trees corresponding to the physical layout of a repository.besadii: Configurable Gerrit/Buildkite integration hook.magrathea: Command-line tool for working with TVL-style monoreposchecks: Collection of useful CI checks for Buildkite
It can be accessed via git by cloning it as such:
git clone https://code.tvl.fyi/depot.git:workspace=views/kit.git tvl-kit
If you are looking at this within the TVL depot, you can see the
josh configuration in workspace.josh. You will find the projects
at slightly different paths within the depot.