Merge pull request #262410 from artemist/minimal-bootstrap-flake

minimal-bootstrap: fix build in flakes

authored by Emily Trau and committed by GitHub 28eb9362 7cd0bd5c

+7 -4
+2 -2
pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/bootstrap-sources.nix
··· 1 - { 2 }: 3 4 rec { ··· 65 */ 66 minimal-bootstrap-sources = derivation { 67 inherit name; 68 - system = builtins.currentSystem; 69 outputHashMode = "recursive"; 70 inherit outputHashAlgo outputHash; 71
··· 1 + { hostPlatform 2 }: 3 4 rec { ··· 65 */ 66 minimal-bootstrap-sources = derivation { 67 inherit name; 68 + system = hostPlatform.system; 69 outputHashMode = "recursive"; 70 inherit outputHashAlgo outputHash; 71
+2 -1
pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/make-bootstrap-sources.nix
··· 12 # 13 14 { lib 15 , fetchFromGitHub 16 , fetchpatch 17 }: 18 19 let 20 - expected = import ./bootstrap-sources.nix { }; 21 in 22 23 fetchFromGitHub {
··· 12 # 13 14 { lib 15 + , hostPlatform 16 , fetchFromGitHub 17 , fetchpatch 18 }: 19 20 let 21 + expected = import ./bootstrap-sources.nix { inherit hostPlatform; }; 22 in 23 24 fetchFromGitHub {
+3 -1
pkgs/top-level/all-packages.nix
··· 28322 checkMeta = callPackage ../stdenv/generic/check-meta.nix { }; 28323 }); 28324 minimal-bootstrap-sources = callPackage ../os-specific/linux/minimal-bootstrap/stage0-posix/bootstrap-sources.nix { }; 28325 - make-minimal-bootstrap-sources = callPackage ../os-specific/linux/minimal-bootstrap/stage0-posix/make-bootstrap-sources.nix { }; 28326 28327 mingetty = callPackage ../os-specific/linux/mingetty { }; 28328
··· 28322 checkMeta = callPackage ../stdenv/generic/check-meta.nix { }; 28323 }); 28324 minimal-bootstrap-sources = callPackage ../os-specific/linux/minimal-bootstrap/stage0-posix/bootstrap-sources.nix { }; 28325 + make-minimal-bootstrap-sources = callPackage ../os-specific/linux/minimal-bootstrap/stage0-posix/make-bootstrap-sources.nix { 28326 + inherit (stdenv) hostPlatform; 28327 + }; 28328 28329 mingetty = callPackage ../os-specific/linux/mingetty { }; 28330