aboutsummaryrefslogtreecommitdiff
path: root/nix/busybox.nix
blob: 7cc5086f498d40786f0089ed3570dbcdf627eb13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ stdenv, fetchgit }:

stdenv.mkDerivation {
	name = "busybox-yerba";
	src = fetchgit {
		url = "https://mirror.cgicoders.com/busybox.net/busybox"; # change this to the official git.busybox.net/busybox when their SSL comes back
		rev = "1_36_1";
		hash = "";
	};
	preConfigure = ''
		cp ${./busybox_config} .config
	'';
	installPhase = ''
		make install CONFIG_PREFIX=$out
	'';
}