diff options
Diffstat (limited to 'nix/busybox.nix')
| -rw-r--r-- | nix/busybox.nix | 16 |
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 + }; +} |
