Merge pull request #188339 from amjoseph-nixpkgs/pr/hydra/dontTryToBuild
This commit is contained in:
commit
b536d6946a
1 changed files with 8 additions and 1 deletions
|
@ -218,5 +218,12 @@ in
|
|||
mkBootstrapToolsJob = drv:
|
||||
assert lib.elem drv.system supportedSystems;
|
||||
hydraJob' (lib.addMetaAttrs { inherit maintainers; } drv);
|
||||
in lib.mapAttrsRecursiveCond (as: !lib.isDerivation as) (name: mkBootstrapToolsJob) tools;
|
||||
in lib.mapAttrsRecursiveCond (as: !lib.isDerivation as) (name: mkBootstrapToolsJob)
|
||||
# The `bootstrapTools.${platform}.bootstrapTools` derivation
|
||||
# *unpacks* the bootstrap-files using their own `busybox` binary,
|
||||
# so it will fail unless buildPlatform.canExecute hostPlatform.
|
||||
# Unfortunately `bootstrapTools` also clobbers its own `system`
|
||||
# attribute, so there is no way to detect this -- we must add it
|
||||
# as a special case.
|
||||
(builtins.removeAttrs tools ["bootstrapTools"]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue