diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-07 13:09:53 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-07 13:09:53 +1200 |
| commit | d6946cf983d9c66e61909983e9394ed6c7c0bf88 (patch) | |
| tree | cd71ad4781774ad081e2e80c7a91f30ebadc5d51 /flake.nix | |
| parent | 5167318ed1b9055d7642df95984dfcae4810e9aa (diff) | |
| download | yerbalinux-d6946cf983d9c66e61909983e9394ed6c7c0bf88.tar.xz yerbalinux-d6946cf983d9c66e61909983e9394ed6c7c0bf88.zip | |
Make nix flake work even if stuff not work
Diffstat (limited to 'flake.nix')
| -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 + }; }; } |
