Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 ./glibc/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 "stackclashprotection"
32 "trivialautovarinit"
33 "zerocallusedregs"
34 ];
35 }
36 // extraAttrs
37)