From d6946cf983d9c66e61909983e9394ed6c7c0bf88 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Sun, 7 Jun 2026 13:09:53 +1200 Subject: Make nix flake work even if stuff not work --- flake.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index d70a47b..718f6c2 100644 --- a/flake.nix +++ b/flake.nix @@ -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 + }; }; } -- cgit v1.2.3