Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setserial: fix cross compilation #182169

Merged
merged 1 commit into from Jul 20, 2022
Merged

setserial: fix cross compilation #182169

merged 1 commit into from Jul 20, 2022

Conversation

ghost
Copy link

@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.

Copy link
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
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
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
Contributor

Successfully created backport PR #182224 for release-22.05.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants