From 4c22740c879ceba4e42342f8ab770b9ebb4960a3 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Sun, 7 Jun 2026 16:01:27 +1200 Subject: Add some placeholders --- flake.nix | 14 +++++++------- nix/iso.nix | 12 ++++++++++++ nix/rootfs.nix | 12 ++++++++++++ 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 6266d80..fa42e79 100644 --- a/flake.nix +++ b/flake.nix @@ -18,13 +18,13 @@ initramfs = pkgs.callPackage ./nix/initramfs.nix { inherit (self.packages.${system}) kernel busybox; }; - # rootfs = pkgs.callPackage ./nix/rootfs.nix { - # inherit (self.packages.${system}) busybox; - # }; - # iso = pkgs.callPackage ./nix/iso.nix { - # inherit (self.packages.${system}) kernel limine initramfs rootfs; - # }; - default = self.packages.${system}.initramfs; # change to ISO when ready + rootfs = pkgs.callPackage ./nix/rootfs.nix { + inherit (self.packages.${system}) busybox; + }; + iso = pkgs.callPackage ./nix/iso.nix { + inherit (self.packages.${system}) kernel limine initramfs rootfs; + }; + default = self.packages.${system}.iso; }; }; } diff --git a/nix/iso.nix b/nix/iso.nix index e69de29..35b942a 100644 --- a/nix/iso.nix +++ b/nix/iso.nix @@ -0,0 +1,12 @@ +{ stdenv, fetchgit }: + +stdenv.mkDerivation { + name = "iso-yerba"; + src = ./.; + buildPhase = '' + echo "todo actually build iso" + ''; + installPhase = '' + echo "todo actually install iso" + ''; +} diff --git a/nix/rootfs.nix b/nix/rootfs.nix index e69de29..ab6c6b4 100644 --- a/nix/rootfs.nix +++ b/nix/rootfs.nix @@ -0,0 +1,12 @@ +{ stdenv, fetchgit }: + +stdenv.mkDerivation { + name = "rootfs-yerba"; + src = ./.; + buildPhase = '' + echo "todo actually build rootfs" + ''; + installPhase = '' + echo "todo actually install rootfs" + ''; +} -- cgit v1.2.3