linux stdenv: Avoid assert false

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.
This commit is contained in:
John Ericson
2016-12-15 17:09:29 -05:00
parent 670256dc39
commit 7960a1b1b8
4 changed files with 20 additions and 26 deletions
@@ -0,0 +1,18 @@
{ 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;
}