Skip to content

setserial: fix cross compilation#182169

Merged
winterqt merged 1 commit intomasterfrom
unknown repository
Jul 20, 2022
Merged

setserial: fix cross compilation#182169
winterqt merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jul 20, 2022

Description of changes

The setserial derivation uses nroff at compile time, so groff should be a nativeBuildDependencies.

Things done
  • Built on platform(s)
    • mips64el-linux, cross from x86_64-darwin
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jul 20, 2022
Copy link
Copy Markdown
Member

@winterqt winterqt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good, but on a closer glance, I'm not sure if I like the commit message wording. This is very nitpicky (and I'm sorry, if you feel like this nit is unjustified, feel free not to not make any further changes and I'll merge anyways), but wouldn't it make more sense to say something loke "a native build dependency" instead of "a nativeBuildDependencies" in the commit description, especially considering the fact that the key is nativeBuildInputs (as opposed to it being nativeBuildDependencies)?

Let me know what you think, thanks.

@ghost
Copy link
Copy Markdown
Author

ghost commented Jul 20, 2022

instead of "a nativeBuildDependencies"

Yes, you're right. Fixed.

@ghost ghost requested a review from winterqt July 20, 2022 06:08
The setserial derivation uses nroff at compile time, so groff should
be in nativeBuildInputs rather than buildInputs.
Copy link
Copy Markdown
Member

@winterqt winterqt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks!

@github-actions
Copy link
Copy Markdown
Contributor

Successfully created backport PR #182224 for release-22.05.

@ghost ghost deleted the pr/setserial/cross branch July 20, 2022 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants