busybox: Allow running from within the Nix store

This enables running the busybox program directly from the Nix store
(i.e. as /nix/store/<hash>-busybox). We need this for the stdenv
bootstrap.
This commit is contained in:
Eelco Dolstra
2014-10-29 13:43:00 +01:00
parent 423e923182
commit 3b2177b769
2 changed files with 18 additions and 0 deletions
@@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
sha256 = "12v7nri79v8gns3inmz4k24q7pcnwi00hybs0wddfkcy1afh42xf";
};
patches = [ ./busybox-in-store.patch ];
configurePhase = ''
export KCONFIG_NOTIMESTAMP=1
make ${if enableMinimal then "allnoconfig" else "defconfig"}