fix(views/kit): allow setting localSystem when using tvl-kit
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
This commit is contained in:
parent
774194652b
commit
48a80dfea0
1 changed files with 2 additions and 1 deletions
|
@ -9,9 +9,10 @@
|
||||||
{ pkgs ? (import ./nixpkgs {
|
{ pkgs ? (import ./nixpkgs {
|
||||||
depotOverlays = false;
|
depotOverlays = false;
|
||||||
depot.third_party.sources = import ./sources { };
|
depot.third_party.sources = import ./sources { };
|
||||||
|
externalArgs = args;
|
||||||
})
|
})
|
||||||
, ...
|
, ...
|
||||||
}:
|
}@args:
|
||||||
|
|
||||||
pkgs.lib.fix (self: {
|
pkgs.lib.fix (self: {
|
||||||
besadii = import ./besadii {
|
besadii = import ./besadii {
|
||||||
|
|
Loading…
Reference in a new issue