about summary refs log tree commit diff
path: root/nixpkgs/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix
blob: d690f40267217dcb46ff5ddc9c8f6007ed23b6d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ system, bootstrapFiles, extraAttrs }:

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;
} // extraAttrs)