treewide: Inline more of the static overlay

Picking up where #107238 left off. I think I'll have gotten all the easy
stuff with this.
This commit is contained in:
John Ericson
2021-01-03 21:40:14 +00:00
parent 9c9c6461ba
commit 5c2965145f
17 changed files with 64 additions and 106 deletions

View File

@@ -1,4 +1,7 @@
{ stdenv, fetchurl, static ? false }:
{ stdenv, fetchurl
, # Note: -static hasnt work on darwin
static ? with stdenv.hostPlatform; isStatic && !isDarwin
}:
# Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or