aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-08 19:02:02 +1200
committerArslaan Pathan <[email protected]>2026-06-08 19:02:02 +1200
commit4ea8ea41419960f9b6c16744ea0edb07e56e7326 (patch)
tree357a3d11851a58fd1c0b027b50613c1ed309b754 /flake.nix
parent654a856e3c13bfa7a2bde1ca1d6153854139fad9 (diff)
downloadyerbalinux-4ea8ea41419960f9b6c16744ea0edb07e56e7326.tar.xz
yerbalinux-4ea8ea41419960f9b6c16744ea0edb07e56e7326.zip
Downgrade busybox to avoid some weird illegal instruction thing, dont use custom config because causing hassle
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 2 insertions, 1 deletions
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;