From 4ea8ea41419960f9b6c16744ea0edb07e56e7326 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Mon, 8 Jun 2026 19:02:02 +1200 Subject: Downgrade busybox to avoid some weird illegal instruction thing, dont use custom config because causing hassle --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index fa42e79..64058c0 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,7 @@ outputs = { self, nixpkgs }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; + pkgsMusl = nixpkgs.legacyPackages.${system}.pkgsMusl; in { devShells.${system}.default = pkgs.mkShell { buildInputs = with pkgs; [ gcc clang gnumake xorriso cpio ]; @@ -13,7 +14,7 @@ packages.${system} = { kernel = pkgs.callPackage ./nix/kernel.nix {}; - busybox = pkgs.callPackage ./nix/busybox.nix {}; + busybox = pkgsMusl.callPackage ./nix/busybox.nix {}; limine = pkgs.callPackage ./nix/limine.nix {}; initramfs = pkgs.callPackage ./nix/initramfs.nix { inherit (self.packages.${system}) kernel busybox; -- cgit v1.2.3