Skip to content

Commit

Permalink
Merge pull request #230455 from amjoseph-nixpkgs/zhf/bootstrapTools/d…
Browse files Browse the repository at this point in the history
…ont-unpack-foreign

release-cross.nix: fix the fix in #188339
  • Loading branch information
wegank committed May 9, 2023
2 parents 7c5e1c1 + 5838729 commit a64acfc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/top-level/release-cross.nix
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,9 @@ in
# 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"]);
# as a special case. We filter the "test" attribute (only from
# *cross*-built bootstrapTools) for the same reason.
(builtins.mapAttrs (_: v: builtins.removeAttrs v ["bootstrapTools" "test"]) tools);

# Cross-built nixStatic for platforms for enabled-but-unsupported platforms
mips64el-nixCrossStatic = mapTestOnCross lib.systems.examples.mips64el-linux-gnuabi64 nixCrossStatic;
Expand Down

0 comments on commit a64acfc

Please sign in to comment.