nixpkgs/pkgs/stdenv/linux/bootstrap-tools/glibc.nix
Vladimír Čunát d4720e9c1e
Merge branch 'staging-next' into staging
There was a nontrivial conflict in pkgs/stdenv/linux/bootstrap-tools*
(reorganizing code vs. modifying it)  I hope I really got it right.
2024-08-05 11:05:55 +02:00

37 lines
570 B
Nix

{
system,
bootstrapFiles,
extraAttrs,
}:
derivation (
{
name = "bootstrap-tools";
builder = bootstrapFiles.busybox;
args = [
"ash"
"-e"
./glibc/unpack-bootstrap-tools.sh
];
tarball = bootstrapFiles.bootstrapTools;
inherit system;
# Needed by the GCC wrapper.
langC = true;
langCC = true;
isGNU = true;
hardeningUnsupportedFlags = [
"fortify3"
"shadowstack"
"pacret"
"stackclashprotection"
"trivialautovarinit"
"zerocallusedregs"
];
}
// extraAttrs
)