diff options
| -rw-r--r-- | flake.nix | 14 | ||||
| -rw-r--r-- | nix/iso.nix | 12 | ||||
| -rw-r--r-- | nix/rootfs.nix | 12 |
3 files changed, 31 insertions, 7 deletions
@@ -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" + ''; +} |
