mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
7960a1b1b8
On one hand, don't want to pass garbage that affects hash, on the other hand footguns are bad. Now, factored out the derivation so only need to pass in what is used.
18 lines
315 B
Nix
18 lines
315 B
Nix
{ system, bootstrapFiles }:
|
|
|
|
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;
|
|
}
|