summaryrefslogtreecommitdiffstats
path: root/pkgs/misc
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2011-08-13 20:41:40 +0000
committerShea Levy <shea@shealevy.com>2011-08-13 20:41:40 +0000
commit03b53d595d7267936722a9b460aac752383df991 (patch)
tree056f4b107eeffcf64360471abd1b0310098a28e2 /pkgs/misc
parentd3c1b358613c5d812c51a33adf062516558be3ef (diff)
busybox: Move $out/usr/{s,}bin to $out/{s,}bin
svn path=/nixpkgs/trunk/; revision=28547
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/busybox/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/misc/busybox/default.nix b/pkgs/misc/busybox/default.nix
index a63411367e89..e52fbf798e17 100644
--- a/pkgs/misc/busybox/default.nix
+++ b/pkgs/misc/busybox/default.nix
@@ -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}-"