diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-08 19:02:02 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-08 19:02:02 +1200 |
| commit | 4ea8ea41419960f9b6c16744ea0edb07e56e7326 (patch) | |
| tree | 357a3d11851a58fd1c0b027b50613c1ed309b754 /nix/busybox.nix | |
| parent | 654a856e3c13bfa7a2bde1ca1d6153854139fad9 (diff) | |
| download | yerbalinux-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 'nix/busybox.nix')
| -rw-r--r-- | nix/busybox.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/nix/busybox.nix b/nix/busybox.nix index dab76a8..7fbceda 100644 --- a/nix/busybox.nix +++ b/nix/busybox.nix @@ -1,19 +1,20 @@ -{ stdenv, fetchgit, linuxHeaders, mlib }: +{ stdenv, fetchgit, linuxHeaders, buildPackages }: stdenv.mkDerivation { name = "busybox-yerba"; src = fetchgit { url = "https://git.eaguru.guru/mirrors/busybox.git"; # change this to the official git.busybox.net/busybox when their SSL comes back - rev = "1_36_1"; - hash = "sha256-lK8jlq1g2X9AhscZDiPf43koNbdMFYiLSAb9Y/OETnU="; + rev = "1_33_2"; + hash = "sha256-0/WbonvSRa57p6sEnY82h2u10WGJRb9IwFSTIJSyzlk="; }; - buildInputs = [ linuxHeaders mlib ]; - nativeBuildInputs = [ linuxHeaders mlib ]; + buildInputs = [ linuxHeaders ]; + nativeBuildInputs = [ linuxHeaders ]; preConfigure = '' - cp ${./busybox_config} .config + make defconfig + echo "CONFIG_STATIC=y" >> .config ''; buildPhase = '' - make -j$NIX_BUILD_CORES all + make -j$NIX_BUILD_CORES CROSS_COMPILE=${stdenv.cc.targetPrefix} HOSTCC=${buildPackages.stdenv.cc}/bin/gcc ''; installPhase = '' make install CONFIG_PREFIX=$out/_install |
