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

unused module errors #269

Merged
merged 1 commit into from
Feb 20, 2025
Merged

Conversation

brianmcgillion
Copy link
Contributor

@brianmcgillion brianmcgillion commented Jan 20, 2025

Description of changes

NixOS/nixpkgs#366004 introduced a change that
warns and errors out when modules are defined and not acutally set for a
particular target.

This patch rectifies that by going back the the previous method of
ignoring those errors and not breaking the build. Commentary is left
inline to explain the situation and possible future solutions.

tested against orin agx target for ghaf.

there are similar solutions being deployed in nixpkgs to work around
this e.g.

NixOS/nixpkgs#375165

Testing

@brianmcgillion brianmcgillion marked this pull request as draft January 20, 2025 10:23
@mikatammi

This comment was marked as off-topic.

@brianmcgillion brianmcgillion changed the title Testing mod version mismatch in display-driver unused module errors Jan 22, 2025
@brianmcgillion brianmcgillion marked this pull request as ready for review January 22, 2025 21:14
NixOS/nixpkgs#366004 introduced a change that
warns and errors out when modules are defined and not acutally set for a
particular target.

This patch rectifies that by going back the the previous method of
ignoring those errors and not breaking the build. Commentary is left
inline to explain the situation and possible future solutions.

tested against orin agx target for ghaf.

there are similar solutions being deployed in nixpkgs to work around
this e.g.

NixOS/nixpkgs#375165

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
@danielfullmer danielfullmer merged commit 0775044 into anduril:master Feb 20, 2025
1 check passed
@danielfullmer
Copy link
Collaborator

LGTM, thanks for the contribution!

@brianmcgillion brianmcgillion deleted the tmp-display branch February 21, 2025 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants