3p: plumb current system through tvl
This commit is contained in:
parent
03dc26854e
commit
a820a47669
3 changed files with 3 additions and 1 deletions
2
third_party/default.nix
vendored
2
third_party/default.nix
vendored
|
@ -43,7 +43,7 @@ let
|
||||||
sha256 = "sha256:0qjyfmw5v7s6ynjns4a61vlyj9cghj7vbpgrp9147ngb1f8krz2c";
|
sha256 = "sha256:0qjyfmw5v7s6ynjns4a61vlyj9cghj7vbpgrp9147ngb1f8krz2c";
|
||||||
};
|
};
|
||||||
|
|
||||||
tvlDepot = import ./tvl { nixpkgsBisectPath = ./nixpkgs; inherit nixpkgsConfig; };
|
tvlDepot = import ./tvl { nixpkgsBisectPath = ./nixpkgs; inherit nixpkgsConfig; nixpkgsSystem = system; };
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
inherit nixpkgsConfig nixpkgs;
|
inherit nixpkgsConfig nixpkgs;
|
||||||
|
|
1
third_party/tvl/default.nix
vendored
1
third_party/tvl/default.nix
vendored
|
@ -5,6 +5,7 @@
|
||||||
{ nixpkgsBisectPath ? null
|
{ nixpkgsBisectPath ? null
|
||||||
, parentTargetMap ? null
|
, parentTargetMap ? null
|
||||||
, nixpkgsConfig ? { }
|
, nixpkgsConfig ? { }
|
||||||
|
, nixpkgsSystem ? builtins.currentSystem
|
||||||
, ...
|
, ...
|
||||||
}@args:
|
}@args:
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,7 @@ import nixpkgsSrc {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
allowBroken = true;
|
allowBroken = true;
|
||||||
};
|
};
|
||||||
|
system = if externalArgs ? nixpkgsSystem then externalArgs.nixpkgsSystem else builtins.currentSystem;
|
||||||
|
|
||||||
overlays = [
|
overlays = [
|
||||||
commitsOverlay
|
commitsOverlay
|
||||||
|
|
Loading…
Reference in a new issue