aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nix/busybox.nix16
-rw-r--r--nix/initramfs.nix0
-rw-r--r--nix/iso.nix0
-rw-r--r--nix/kernel.nix0
-rw-r--r--nix/limine.nix0
-rw-r--r--nix/rootfs.nix0
6 files changed, 16 insertions, 0 deletions
diff --git a/nix/busybox.nix b/nix/busybox.nix
new file mode 100644
index 0000000..9993e2d
--- /dev/null
+++ b/nix/busybox.nix
@@ -0,0 +1,16 @@
+{ stdenv, fetchgit }
+
+stdenv.mkDerivation {
+ name = "busybox-yerba";
+ src = fetchgit {
+ url = "https://git.busybox.net/busybox";
+ rev = "1_36_1";
+ hash = "";
+ };
+ preConfigure = ''
+ cp ${./busybox_config} .config
+ '';
+ installPhase = {
+ make install CONFIG_PREFIX=$out
+ };
+}
diff --git a/nix/initramfs.nix b/nix/initramfs.nix
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/nix/initramfs.nix
diff --git a/nix/iso.nix b/nix/iso.nix
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/nix/iso.nix
diff --git a/nix/kernel.nix b/nix/kernel.nix
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/nix/kernel.nix
diff --git a/nix/limine.nix b/nix/limine.nix
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/nix/limine.nix
diff --git a/nix/rootfs.nix b/nix/rootfs.nix
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/nix/rootfs.nix