diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.sh b/pkgs/stdenv/linux/make-bootstrap-tools.sh index c4f5f55bc451..1cf0df1c2556 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools.sh +++ b/pkgs/stdenv/linux/make-bootstrap-tools.sh @@ -23,11 +23,8 @@ cp $bash/bin/bash $out/in-nixpkgs nukeRefs $out/in-nixpkgs/bash cp $bzip2/bin/bunzip2 $out/in-nixpkgs cp $coreutils/bin/cp $out/in-nixpkgs -bzip2 < $curl/bin/curl > $out/in-nixpkgs/curl.bz2 cp $gnutar/bin/tar $out/in-nixpkgs nukeRefs $out/in-nixpkgs/tar -bzip2 $out/in-nixpkgs/tar -chmod +x $out/in-nixpkgs/*.bz2 # Create the tools tarball. @@ -125,6 +122,10 @@ done # Pack, unpack everything. +bzip2 < $curl/bin/curl > $out/in-nixpkgs/curl.bz2 +bzip2 $out/in-nixpkgs/tar +chmod +x $out/in-nixpkgs/*.bz2 + tar cfj $out/on-server/static-tools.tar.bz2 tools tar cfj $out/on-server/binutils.tar.bz2 binutils tar cfj $out/on-server/gcc.tar.bz2 gcc