mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
Merge pull request #262410 from artemist/minimal-bootstrap-flake
minimal-bootstrap: fix build in flakes
This commit is contained in:
commit
28eb936285
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{ hostPlatform
|
||||
}:
|
||||
|
||||
rec {
|
||||
|
@ -65,7 +65,7 @@ rec {
|
|||
*/
|
||||
minimal-bootstrap-sources = derivation {
|
||||
inherit name;
|
||||
system = builtins.currentSystem;
|
||||
system = hostPlatform.system;
|
||||
outputHashMode = "recursive";
|
||||
inherit outputHashAlgo outputHash;
|
||||
|
||||
|
|
|
@ -12,12 +12,13 @@
|
|||
#
|
||||
|
||||
{ lib
|
||||
, hostPlatform
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
let
|
||||
expected = import ./bootstrap-sources.nix { };
|
||||
expected = import ./bootstrap-sources.nix { inherit hostPlatform; };
|
||||
in
|
||||
|
||||
fetchFromGitHub {
|
||||
|
|
|
@ -28322,7 +28322,9 @@ with pkgs;
|
|||
checkMeta = callPackage ../stdenv/generic/check-meta.nix { };
|
||||
});
|
||||
minimal-bootstrap-sources = callPackage ../os-specific/linux/minimal-bootstrap/stage0-posix/bootstrap-sources.nix { };
|
||||
make-minimal-bootstrap-sources = callPackage ../os-specific/linux/minimal-bootstrap/stage0-posix/make-bootstrap-sources.nix { };
|
||||
make-minimal-bootstrap-sources = callPackage ../os-specific/linux/minimal-bootstrap/stage0-posix/make-bootstrap-sources.nix {
|
||||
inherit (stdenv) hostPlatform;
|
||||
};
|
||||
|
||||
mingetty = callPackage ../os-specific/linux/mingetty { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue