feat: Add top-level system parameter
This has come up a couple of times. This way system is passed to all derivations. Maybe we can do something useful with it. Change-Id: Ia7dfcffbc82abbd3128342a8971a3861865be713 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5832 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
3cbe10c4f6
commit
6cfa6bb59e
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
{ nixpkgsBisectPath ? null
|
{ nixpkgsBisectPath ? null
|
||||||
, parentTargetMap ? null
|
, parentTargetMap ? null
|
||||||
, nixpkgsConfig ? { }
|
, nixpkgsConfig ? { }
|
||||||
|
, localSystem ? builtins.currentSystem
|
||||||
, ...
|
, ...
|
||||||
}@args:
|
}@args:
|
||||||
|
|
||||||
|
@ -74,6 +75,7 @@ let
|
||||||
|
|
||||||
in
|
in
|
||||||
readTree.fix (self: (readDepot {
|
readTree.fix (self: (readDepot {
|
||||||
|
inherit localSystem;
|
||||||
depot = self;
|
depot = self;
|
||||||
|
|
||||||
# Pass third_party as 'pkgs' (for compatibility with external
|
# Pass third_party as 'pkgs' (for compatibility with external
|
||||||
|
|
Loading…
Reference in a new issue