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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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
kernel/default.nix Outdated Show resolved Hide resolved
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 <[email protected]>
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.

3 participants