summary refs log tree commit diff
path: root/pkgs/stdenv/linux/bootstrap-tools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/stdenv/linux/bootstrap-tools/default.nix')
-rw-r--r--pkgs/stdenv/linux/bootstrap-tools/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/bootstrap-tools/default.nix b/pkgs/stdenv/linux/bootstrap-tools/default.nix
new file mode 100644
index 00000000000..6118585d545
--- /dev/null
+++ b/pkgs/stdenv/linux/bootstrap-tools/default.nix
@@ -0,0 +1,18 @@
+{ system, bootstrapFiles }:
+
+derivation {
+  name = "bootstrap-tools";
+
+  builder = bootstrapFiles.busybox;
+
+  args = [ "ash" "-e" ./scripts/unpack-bootstrap-tools.sh ];
+
+  tarball = bootstrapFiles.bootstrapTools;
+
+  inherit system;
+
+  # Needed by the GCC wrapper.
+  langC = true;
+  langCC = true;
+  isGNU = true;
+}