3p: plumb current system through tvl

This commit is contained in:
Luke Granger-Brown 2023-03-12 14:20:06 +00:00
parent 03dc26854e
commit a820a47669
3 changed files with 3 additions and 1 deletions

View file

@ -43,7 +43,7 @@ let
sha256 = "sha256:0qjyfmw5v7s6ynjns4a61vlyj9cghj7vbpgrp9147ngb1f8krz2c";
};
tvlDepot = import ./tvl { nixpkgsBisectPath = ./nixpkgs; inherit nixpkgsConfig; };
tvlDepot = import ./tvl { nixpkgsBisectPath = ./nixpkgs; inherit nixpkgsConfig; nixpkgsSystem = system; };
in
rec {
inherit nixpkgsConfig nixpkgs;

View file

@ -5,6 +5,7 @@
{ nixpkgsBisectPath ? null
, parentTargetMap ? null
, nixpkgsConfig ? { }
, nixpkgsSystem ? builtins.currentSystem
, ...
}@args:

View file

@ -47,6 +47,7 @@ import nixpkgsSrc {
allowUnfree = true;
allowBroken = true;
};
system = if externalArgs ? nixpkgsSystem then externalArgs.nixpkgsSystem else builtins.currentSystem;
overlays = [
commitsOverlay