2021-05-03 20:48:10 +00:00
|
|
|
{ system, bootstrapFiles, extraAttrs }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
derivation ({
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2024-02-29 20:09:43 +00:00
|
|
|
hardeningUnsupportedFlags = [ "fortify3" "zerocallusedregs" ];
|
2021-05-03 20:48:10 +00:00
|
|
|
} // extraAttrs)
|