diff --git a/pkgs/stdenv/linux/bootstrap/x86_64/bash b/pkgs/stdenv/linux/bootstrap/x86_64/bash new file mode 100755 index 00000000000..bb5a596caee Binary files /dev/null and b/pkgs/stdenv/linux/bootstrap/x86_64/bash differ diff --git a/pkgs/stdenv/linux/bootstrap/x86_64/bunzip2 b/pkgs/stdenv/linux/bootstrap/x86_64/bunzip2 new file mode 100755 index 00000000000..91dbd4b1427 Binary files /dev/null and b/pkgs/stdenv/linux/bootstrap/x86_64/bunzip2 differ diff --git a/pkgs/stdenv/linux/bootstrap/x86_64/cp b/pkgs/stdenv/linux/bootstrap/x86_64/cp new file mode 100755 index 00000000000..71738314528 Binary files /dev/null and b/pkgs/stdenv/linux/bootstrap/x86_64/cp differ diff --git a/pkgs/stdenv/linux/bootstrap/x86_64/curl.bz2 b/pkgs/stdenv/linux/bootstrap/x86_64/curl.bz2 new file mode 100755 index 00000000000..ad440f969ac Binary files /dev/null and b/pkgs/stdenv/linux/bootstrap/x86_64/curl.bz2 differ diff --git a/pkgs/stdenv/linux/bootstrap/x86_64/default.nix b/pkgs/stdenv/linux/bootstrap/x86_64/default.nix new file mode 100644 index 00000000000..88f0236d37a --- /dev/null +++ b/pkgs/stdenv/linux/bootstrap/x86_64/default.nix @@ -0,0 +1,27 @@ +{ + bash = ./bash; + bunzip2 = ./bunzip2; + cp = ./cp; + curl = ./curl.bz2; + tar = ./tar.bz2; + + staticToolsURL = { + url = file:///tmp/tarballs/static-tools.tar.bz2; + sha1 = "806f9644bf155069315bdd66138764b3d8619348"; + }; + + binutilsURL = { + url = file:///tmp/tarballs/binutils.tar.bz2; + sha1 = "b55055c50cfcd2ab02e20f49ad8ca72315252a1c"; + }; + + gccURL = { + url = file:///tmp/tarballs/gcc.tar.bz2; + sha1 = "a2ac17b6e7ce6d07c01e090b801c1622f56d8b39"; + }; + + glibcURL = { + url = file:///tmp/tarballs/glibc.tar.bz2; + sha1 = "59d4d5a25ecd8b2f741d80e80d172bd6e7e06d89"; + }; +} diff --git a/pkgs/stdenv/linux/bootstrap/x86_64/tar.bz2 b/pkgs/stdenv/linux/bootstrap/x86_64/tar.bz2 new file mode 100755 index 00000000000..29b97f8a32c Binary files /dev/null and b/pkgs/stdenv/linux/bootstrap/x86_64/tar.bz2 differ diff --git a/pkgs/stdenv/linux/new.nix b/pkgs/stdenv/linux/new.nix index 31a78ec2057..c3867392b4d 100644 --- a/pkgs/stdenv/linux/new.nix +++ b/pkgs/stdenv/linux/new.nix @@ -8,7 +8,10 @@ rec { - bootstrapTools = import ./bootstrap/i686; + bootstrapTools = + if system == "i686-linux" then import ./bootstrap/i686 + else if system == "x86_64-linux" then import ./bootstrap/x86_64 + else abort "unsupported platform for the pure Linux stdenv"; # The bootstrap process proceeds in several steps.