Skip to content

pkgsCross.hostPlatform.bash fails to build if buildPlatform.config==hostPlatform.config but buildPlatform!=hostPlatform #264989

@ghost

Description

We have a longstanding bug (probably more than one of them) where packages don't build properly if the buildPlatform and hostPlatform are not equal, but yet have equal .config attributes.

The equality test for platforms was made more forgiving by

but this merely concealed the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: cross-compilationBuilding packages on a different platform than they will be used on
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions