Append rpath of dev enum lib manually
split plugins out into their own derivation
Add libatomiczynqu.so, rio2 full disk image
This flake provides Nix packaging for the proprietary libraries and FPGA bit-files normally found in the RoboRIO image, provided as part of the FRC game tools. Generally, you will not include this flake directly in user projects, but instead include HAL or another higher-level library.
There are two reasons we need this packaging:
We need the libraries available at build-time in order to build the hardware abstraction layer (HAL).
We need to provide our own libraries at runtime, so that we can
patch the RUNPATH
of each one and provide a consistent,
predictable set of libraries. For example, this lets us link
against newer versions of libc than the one provided on the
RoboRIO.
We also package the FPGA bit-files, to ensure that they are always consistent with the version of the runtime libraries being used.
If you are using this packaging in your own project, you need to be sure to update this flake when new images are released (and packaged), or else you will still be using the old versions of libraries.
Contributions welcome! See the Sourcehut project hub for how to join the discussion, report bugs, and submit patches.
The Nix expressions provided here are licensed under the BSD 3-clause license. Note that this only applies to the Nix expressions, and not the software packaged by them. See the documentation on National Instruments' website for the license of the game tools themselves.