diff options
| -rw-r--r-- | flake.nix | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -10,5 +10,21 @@ devShells.${system}.default = pkgs.mkShell { buildInputs = with pkgs; [ gcc clang gnumake xorriso cpio ]; }; + + packages.${system} = { + kernel = pkgs.callPackage ./nix/kernel.nix {}; + busybox = pkgs.callPackage ./nix/busybox.nix {}; + # limine = pkgs.callPackage ./nix/limine.nix {}; + 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 + }; }; } |
