mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
freshBootstrapTools: remove rec in favor of explicit attrset building
This commit is contained in:
parent
91e1f1c9d6
commit
1441f48d99
@ -27,14 +27,11 @@ let
|
||||
{ };
|
||||
|
||||
pkgs = import pkgspath ({ inherit localSystem; } // cross // custom-bootstrap);
|
||||
in
|
||||
|
||||
rec {
|
||||
build = pkgs.callPackage ./stdenv-bootstrap-tools.nix { };
|
||||
inherit (build) bootstrapFiles;
|
||||
|
||||
bootstrapTools = pkgs.callPackage ./bootstrap-tools.nix {
|
||||
inherit (bootstrapFiles) bootstrapTools unpack;
|
||||
inherit (build.bootstrapFiles) bootstrapTools unpack;
|
||||
};
|
||||
|
||||
test = pkgs.callPackage ./test-bootstrap-tools.nix { inherit bootstrapTools; };
|
||||
@ -50,9 +47,19 @@ rec {
|
||||
args:
|
||||
let
|
||||
args' = args // {
|
||||
inherit bootstrapFiles;
|
||||
inherit (build) bootstrapFiles;
|
||||
};
|
||||
in
|
||||
(import (test-pkgspath + "/pkgs/stdenv/darwin") args');
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit
|
||||
build
|
||||
bootstrapTools
|
||||
test
|
||||
test-pkgs
|
||||
;
|
||||
|
||||
inherit (build) bootstrapFiles;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user