diff options
Diffstat (limited to 'pkgs/misc/busybox/default.nix')
-rw-r--r-- | pkgs/misc/busybox/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/misc/busybox/default.nix b/pkgs/misc/busybox/default.nix index a63411367e89b..f3a73514ed855 100644 --- a/pkgs/misc/busybox/default.nix +++ b/pkgs/misc/busybox/default.nix @@ -39,11 +39,11 @@ let in stdenv.mkDerivation rec { - name = "busybox-1.18.0"; + name = "busybox-1.19.0"; src = fetchurl { url = "http://busybox.net/downloads/${name}.tar.bz2"; - sha256 = "007bc8k6sc62iyjmyv3di2c8xdxvdhvqg68c7pn40m0455lmx79s"; + sha256 = "0332yxvlfv2hbix9n70dyp4xlm2hrk248qqdg006hyfpjsh49kqr"; }; configurePhase = '' @@ -58,6 +58,12 @@ stdenv.mkDerivation rec { make oldconfig ''; + postInstall = '' + mv -v $out/usr/bin/* $out/bin + mv -v $out/usr/sbin/* $out/sbin + rm -fRv $out/usr/ + ''; + crossAttrs = { extraCrossConfig = '' CONFIG_CROSS_COMPILER_PREFIX "${stdenv.cross.config}-" |