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

stdenv.mkDerivation {
	name = "busybox-yerba";
	src = fetchgit {
		url = "https://git.eaguru.guru/mirror/busybox"; # change this to the official git.busybox.net/busybox when their SSL comes back
		rev = "1_36_stable";
		hash = "sha256-lK8jlq1g2X9AhscZDiPf43koNbdMFYiLSAb9Y/OETnU=";
	};
	preConfigure = ''
		cp ${./busybox_config} .config
		yes "n" | make oldconfig
	'';
	installPhase = ''
		make install CONFIG_PREFIX=$out
	'';
}