From 068e16881ac47040e31b65d1ba5d4ed64067166d Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Wed, 10 Jun 2026 19:28:49 +1200 Subject: tcc --- flake.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index e08e760..4b69ea3 100644 --- a/flake.nix +++ b/flake.nix @@ -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; -- cgit v1.2.3