diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-08 19:10:07 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-08 19:10:07 +1200 |
| commit | 0bc407c91f304edbccd75636de2f257043021893 (patch) | |
| tree | 5db6351274dff4566c4706b4b0106f2e4dc2ce22 /flake.nix | |
| parent | 38eb0e193eae5d3fff21dcc497e11ac2ab30fcd3 (diff) | |
| download | yerbalinux-0bc407c91f304edbccd75636de2f257043021893.tar.xz yerbalinux-0bc407c91f304edbccd75636de2f257043021893.zip | |
Just wrap prebuilt busybox, i cant be bothered to fight with the Illegal instruction that i cant even FIX
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -6,7 +6,7 @@ outputs = { self, nixpkgs }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; - pkgsMusl = nixpkgs.legacyPackages.${system}.pkgsMusl; + pkgsStatic = nixpkgs.legacyPackages.${system}.pkgsStatic; in { devShells.${system}.default = pkgs.mkShell { buildInputs = with pkgs; [ gcc clang gnumake xorriso cpio ]; @@ -14,7 +14,9 @@ packages.${system} = { kernel = pkgs.callPackage ./nix/kernel.nix {}; - busybox = pkgsMusl.callPackage ./nix/busybox.nix {}; + busybox = pkgs.callPackage ./nix/busybox.nix { + inherit (pkgs) pkgsStatic; + }; limine = pkgs.callPackage ./nix/limine.nix {}; initramfs = pkgs.callPackage ./nix/initramfs.nix { inherit (self.packages.${system}) kernel busybox; |
