nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 system,
3 bootstrapFiles,
4 extraAttrs,
5}:
6
7derivation (
8 {
9 name = "bootstrap-tools";
10
11 builder = bootstrapFiles.busybox;
12
13 args = [
14 "ash"
15 "-e"
16 ./musl/unpack-bootstrap-tools.sh
17 ];
18
19 tarball = bootstrapFiles.bootstrapTools;
20
21 inherit system;
22
23 # Needed by the GCC wrapper.
24 langC = true;
25 langCC = true;
26 isGNU = true;
27 hardeningUnsupportedFlags = [
28 "fortify3"
29 "shadowstack"
30 "pacret"
31 "zerocallusedregs"
32 "trivialautovarinit"
33 ];
34 }
35 // extraAttrs
36)