aboutsummaryrefslogtreecommitdiff
path: root/nix/busybox.nix
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-07 12:57:48 +1200
committerArslaan Pathan <[email protected]>2026-06-07 12:57:48 +1200
commit29e65a8c438cd65b944773ab3b6ba1601a5b220a (patch)
tree36219442f6ed89b087f28c97497754b98c50ea0e /nix/busybox.nix
parent337953c9069e045bda31ed777073e750c00aac7b (diff)
downloadyerbalinux-29e65a8c438cd65b944773ab3b6ba1601a5b220a.tar.xz
yerbalinux-29e65a8c438cd65b944773ab3b6ba1601a5b220a.zip
Busybox + file templates
Diffstat (limited to 'nix/busybox.nix')
-rw-r--r--nix/busybox.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/nix/busybox.nix b/nix/busybox.nix
new file mode 100644
index 0000000..9993e2d
--- /dev/null
+++ b/nix/busybox.nix
@@ -0,0 +1,16 @@
+{ stdenv, fetchgit }
+
+stdenv.mkDerivation {
+ name = "busybox-yerba";
+ src = fetchgit {
+ url = "https://git.busybox.net/busybox";
+ rev = "1_36_1";
+ hash = "";
+ };
+ preConfigure = ''
+ cp ${./busybox_config} .config
+ '';
+ installPhase = {
+ make install CONFIG_PREFIX=$out
+ };
+}