aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-07 13:09:53 +1200
committerArslaan Pathan <[email protected]>2026-06-07 13:09:53 +1200
commitd6946cf983d9c66e61909983e9394ed6c7c0bf88 (patch)
treecd71ad4781774ad081e2e80c7a91f30ebadc5d51 /flake.nix
parent5167318ed1b9055d7642df95984dfcae4810e9aa (diff)
downloadyerbalinux-d6946cf983d9c66e61909983e9394ed6c7c0bf88.tar.xz
yerbalinux-d6946cf983d9c66e61909983e9394ed6c7c0bf88.zip
Make nix flake work even if stuff not work
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix16
1 files changed, 16 insertions, 0 deletions
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
+ };
};
}