-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Get rid of crossAttrs #33302
Copy link
Copy link
Closed
Labels
6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on
Milestone
Metadata
Metadata
Assignees
Labels
6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on
Fields
Give feedbackNo fields configured for issues without a type.
It is a needless abstraction. Just use
stdenv.lib.optionalAttrs (stdenv.hostPlatform != buildPlatform) { .. }, or more ideally condition on the individual fields.CC @bgamari