aboutsummaryrefslogtreecommitdiff
path: root/nix/busybox.nix
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-08 13:24:17 +1200
committerArslaan Pathan <[email protected]>2026-06-08 13:24:17 +1200
commit654a856e3c13bfa7a2bde1ca1d6153854139fad9 (patch)
tree5f5d851be92982fc52b651b0d05f16d2a76e6265 /nix/busybox.nix
parent9dad8b47c18fd4b2d919d90b33b8d7d093a3dac2 (diff)
downloadyerbalinux-654a856e3c13bfa7a2bde1ca1d6153854139fad9.tar.xz
yerbalinux-654a856e3c13bfa7a2bde1ca1d6153854139fad9.zip
Make busybox static and start trying to make it not fail with the 'm' and 'resolv' libraries
Diffstat (limited to 'nix/busybox.nix')
-rw-r--r--nix/busybox.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nix/busybox.nix b/nix/busybox.nix
index f78ebeb..dab76a8 100644
--- a/nix/busybox.nix
+++ b/nix/busybox.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, linuxHeaders }:
+{ stdenv, fetchgit, linuxHeaders, mlib }:
stdenv.mkDerivation {
name = "busybox-yerba";
@@ -7,6 +7,8 @@ stdenv.mkDerivation {
rev = "1_36_1";
hash = "sha256-lK8jlq1g2X9AhscZDiPf43koNbdMFYiLSAb9Y/OETnU=";
};
+ buildInputs = [ linuxHeaders mlib ];
+ nativeBuildInputs = [ linuxHeaders mlib ];
preConfigure = ''
cp ${./busybox_config} .config
'';