diff options
author | regnat <rg@regnat.ovh> | 2021-04-26 17:21:17 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-04-28 10:25:49 +0200 |
commit | 14f66d60a789da5cc48d0602b390a267f016143d (patch) | |
tree | f7edeac77c0d8c7d344df394dcda07f8835be9eb /pkgs/stdenv/linux/bootstrap-tools-musl | |
parent | 559c5792ef1d0ef413e0abd5ddd07409989ceb1c (diff) |
Make the bootsrap respect the contentAddressedByDefault setting
Patch every `derivation` call in the bootsrap process to add it a conditional `__contentAddressed` parameter. That way, passing `contentAddressedByDefault` means that the entire build closure of a system can be content addressed
Diffstat (limited to 'pkgs/stdenv/linux/bootstrap-tools-musl')
-rw-r--r-- | pkgs/stdenv/linux/bootstrap-tools-musl/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix b/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix index 6118585d545f9..d690f40267217 100644 --- a/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix +++ b/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix @@ -1,6 +1,6 @@ -{ system, bootstrapFiles }: +{ system, bootstrapFiles, extraAttrs }: -derivation { +derivation ({ name = "bootstrap-tools"; builder = bootstrapFiles.busybox; @@ -15,4 +15,4 @@ derivation { langC = true; langCC = true; isGNU = true; -} +} // extraAttrs) |