diff --git a/pkgs/stdenv/linux/bootstrap/armv5tel/default.nix b/pkgs/stdenv/linux/bootstrap/armv5tel.nix similarity index 100% rename from pkgs/stdenv/linux/bootstrap/armv5tel/default.nix rename to pkgs/stdenv/linux/bootstrap/armv5tel.nix diff --git a/pkgs/stdenv/linux/bootstrap/armv6l/default.nix b/pkgs/stdenv/linux/bootstrap/armv6l.nix similarity index 92% rename from pkgs/stdenv/linux/bootstrap/armv6l/default.nix rename to pkgs/stdenv/linux/bootstrap/armv6l.nix index 542f74de49fe..85b868359052 100644 --- a/pkgs/stdenv/linux/bootstrap/armv6l/default.nix +++ b/pkgs/stdenv/linux/bootstrap/armv6l.nix @@ -1,5 +1,5 @@ # Use the static tools for armv5tel-linux. -(import ../armv5tel) // +(import ./armv5tel.nix) // { bootstrapTools = { diff --git a/pkgs/stdenv/linux/bootstrap/armv7l/default.nix b/pkgs/stdenv/linux/bootstrap/armv7l/default.nix deleted file mode 100644 index 0fc2002068ef..000000000000 --- a/pkgs/stdenv/linux/bootstrap/armv7l/default.nix +++ /dev/null @@ -1,3 +0,0 @@ -# rely on ARM backward compatibility to build armv7l binaries with the -# bootstrap tools of armv5tel. -import ../armv5tel \ No newline at end of file diff --git a/pkgs/stdenv/linux/bootstrap/i686/default.nix b/pkgs/stdenv/linux/bootstrap/i686.nix similarity index 100% rename from pkgs/stdenv/linux/bootstrap/i686/default.nix rename to pkgs/stdenv/linux/bootstrap/i686.nix diff --git a/pkgs/stdenv/linux/bootstrap/loongson2f/default.nix b/pkgs/stdenv/linux/bootstrap/loongson2f.nix similarity index 100% rename from pkgs/stdenv/linux/bootstrap/loongson2f/default.nix rename to pkgs/stdenv/linux/bootstrap/loongson2f.nix diff --git a/pkgs/stdenv/linux/bootstrap/x86_64/default.nix b/pkgs/stdenv/linux/bootstrap/x86_64.nix similarity index 92% rename from pkgs/stdenv/linux/bootstrap/x86_64/default.nix rename to pkgs/stdenv/linux/bootstrap/x86_64.nix index eb8c1834a3af..71961e6961e6 100644 --- a/pkgs/stdenv/linux/bootstrap/x86_64/default.nix +++ b/pkgs/stdenv/linux/bootstrap/x86_64.nix @@ -1,6 +1,6 @@ # Use the static tools for i686-linux. They work on x86_64-linux # machines as well. -(import ../i686) // +(import ./i686.nix) // { bootstrapTools = { diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 02635bf1fd5d..1c6a93b222d2 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -14,12 +14,12 @@ rec { lib = import ../../../lib; bootstrapFiles = - if system == "i686-linux" then import ./bootstrap/i686 - else if system == "x86_64-linux" then import ./bootstrap/x86_64 - else if system == "armv5tel-linux" then import ./bootstrap/armv5tel - else if system == "armv6l-linux" then import ./bootstrap/armv6l - else if system == "armv7l-linux" then import ./bootstrap/armv6l - else if system == "mips64el-linux" then import ./bootstrap/loongson2f + if system == "i686-linux" then import ./bootstrap/i686.nix + else if system == "x86_64-linux" then import ./bootstrap/x86_64.nix + else if system == "armv5tel-linux" then import ./bootstrap/armv5tel.nix + else if system == "armv6l-linux" then import ./bootstrap/armv6l.nix + else if system == "armv7l-linux" then import ./bootstrap/armv6l.nix + else if system == "mips64el-linux" then import ./bootstrap/loongson2f.nix else abort "unsupported platform for the pure Linux stdenv";