summary refs log tree commit diff
path: root/pkgs/stdenv/linux/bootstrap-tools/default.nix
blob: 569f0c6f31e2ff09c34a742a756458449b37f1a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ 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;
  hardeningUnsupportedFlags = [ "fortify3" ];
} // extraAttrs)