diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-10 19:28:49 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-10 19:28:49 +1200 |
| commit | 068e16881ac47040e31b65d1ba5d4ed64067166d (patch) | |
| tree | d9adbcd85b12fd3d358d54bf5d7f503ea21ac94f /flake.nix | |
| parent | e0cfbaa7e901b4ef91b75bee0046a1999436c39d (diff) | |
| download | yerbalinux-068e16881ac47040e31b65d1ba5d4ed64067166d.tar.xz yerbalinux-068e16881ac47040e31b65d1ba5d4ed64067166d.zip | |
tcc
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -7,6 +7,7 @@ system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; pkgsStatic = nixpkgs.legacyPackages.${system}.pkgsStatic; + pkgsMusl = nixpkgs.legacyPackages.${system}.pkgsMusl; in { devShells.${system}.default = pkgs.mkShell { buildInputs = with pkgs; [ gcc clang gnumake xorriso cpio ]; @@ -17,12 +18,17 @@ busybox = pkgs.callPackage ./nix/busybox.nix { inherit (pkgs) pkgsStatic; }; + tcc = pkgs.callPackage ./nix/tcc.nix { + inherit (pkgsMusl) musl; + inherit (pkgs) linuxHeaders; + }; 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; + inherit (self.packages.${system}) busybox tcc; + inherit (pkgsMusl) musl; }; iso = pkgs.callPackage ./nix/iso.nix { inherit (self.packages.${system}) kernel limine initramfs rootfs; |
