about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/minimal-bootstrap
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-05-13 17:33:25 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-05-14 15:16:55 -0400
commitce85120cbcbccb02d9d864a34802efd72d91fe72 (patch)
tree4d0f8000837ac233988c383c33dad17bfc5b088a /pkgs/os-specific/linux/minimal-bootstrap
parenteb34a2251138b07e897e836fd5cc441f846817be (diff)
downloadnixlib-ce85120cbcbccb02d9d864a34802efd72d91fe72.tar
nixlib-ce85120cbcbccb02d9d864a34802efd72d91fe72.tar.gz
nixlib-ce85120cbcbccb02d9d864a34802efd72d91fe72.tar.bz2
nixlib-ce85120cbcbccb02d9d864a34802efd72d91fe72.tar.lz
nixlib-ce85120cbcbccb02d9d864a34802efd72d91fe72.tar.xz
nixlib-ce85120cbcbccb02d9d864a34802efd72d91fe72.tar.zst
nixlib-ce85120cbcbccb02d9d864a34802efd72d91fe72.zip
minimal-bootstrap: Expose some details
Nice for poking around in the repl.
Diffstat (limited to 'pkgs/os-specific/linux/minimal-bootstrap')
-rw-r--r--pkgs/os-specific/linux/minimal-bootstrap/default.nix4
-rw-r--r--pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/default.nix4
2 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/minimal-bootstrap/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/default.nix
index 9c897aa1558a..6b3236ce4587 100644
--- a/pkgs/os-specific/linux/minimal-bootstrap/default.nix
+++ b/pkgs/os-specific/linux/minimal-bootstrap/default.nix
@@ -20,7 +20,9 @@ lib.makeScope
     mes = callPackage ./mes { };
     mes-libc = callPackage ./mes/libc.nix { };
 
-    inherit (callPackage ./stage0-posix { }) kaem m2libc mescc-tools mescc-tools-extra;
+    stage0-posix = callPackage ./stage0-posix { };
+
+    inherit (self.stage0-posix) kaem m2libc mescc-tools mescc-tools-extra;
 
     tinycc-bootstrappable = callPackage ./tinycc/bootstrappable.nix { };
     tinycc-mes = callPackage ./tinycc/mes.nix { };
diff --git a/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/default.nix
index 650644f6ef02..2b41261add3a 100644
--- a/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/default.nix
+++ b/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/default.nix
@@ -12,7 +12,9 @@ lib.makeScope newScope (self: with self; {
   kaem = callPackage ./kaem { };
   kaem-minimal = callPackage ./kaem/minimal.nix { };
 
-  inherit (callPackage ./stage0-posix-x86.nix { }) blood-elf-0 hex2 kaem-unwrapped M1 M2;
+  stage0-posix-x86 = callPackage ./stage0-posix-x86.nix { };
+
+  inherit (self.stage0-posix-x86) blood-elf-0 hex2 kaem-unwrapped M1 M2;
 
   mescc-tools = callPackage ./mescc-tools { };