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
Introduce hardware/bladeRF module #47297
Conversation
@GrahamcOfBorg build libbladeRF |
Success on aarch64-linux (full log) Attempted: libbladeRF Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: libbladeRF Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Attempted: libbladeRF Partial log (click to expand)
|
CC @lukeadams any ideas how to fix the darwin build? |
@markuskowa it seems that malloc.h is a non-standard Linux header. It could be removed probably, but I don't have a Mac to test the result. |
It looks like they fixed it in Nuand/bladeRF@0cb4ea8#diff-d5dd492f2296bbf8a94924c15c9efc09 |
@GrahamcOfBorg build libbladeRF |
@GrahamcOfBorg build libbladeRF |
Failure on x86_64-darwin (full log) Attempted: libbladeRF Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: libbladeRF Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: libbladeRF Partial log (click to expand)
|
sha256 = "1ccpa69vz2nlpdnxprh4rd1pgphk82z5lfmbrfdkn7srw6nxl469"; | ||
}) | ||
]; | ||
|
||
# Let us avoid nettools as a dependency. | ||
patchPhase = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one overrides the patch phase. Thus the patch is never applied. postPatch
is the better choice here:
patchPhase = '' | |
postPatch= '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@greydot Could you handle this comment? It should (hopefully) fix the darwin build :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ekleog done. Sorry for the delay.
This allows to easily enable bladerf-related udev rules with nixos configuration.
@GrahamcOfBorg build libbladeRF |
Motivation for this change
Update libbladeRF to the latest version. Add module for easier system configuration.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)