Do not follow this link

~jhagborg/frc-runtime-nix

Nix packaging of FRC game tools and libraries
Append rpath of dev enum lib manually
split plugins out into their own derivation
Add libatomiczynqu.so, rio2 full disk image

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~jhagborg/frc-runtime-nix
read/write
git@git.sr.ht:~jhagborg/frc-runtime-nix

You can also use your local clone with git send-email.

#Nix packaging for the RoboRIO runtime libraries

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:

  1. We need the libraries available at build-time in order to build the hardware abstraction layer (HAL).

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

#Contributing

Contributions welcome! See the Sourcehut project hub for how to join the discussion, report bugs, and submit patches.

#License

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.

Do not follow this link