pinnacle
pinnacle copied to clipboard
Nix Packaging tracking issue
Following the discussions in #212 I felt it would be best to set up a tracking issue for nix things. Currently on the list:
-
- Figure out what's going on with crane and why their full workspace config works
- [ ] upstream changes from the workspace quick start config pending on #215
-
- work out issues in build system blocking nix
- [ ] build.rs tries to build outside of
OUT_DIR
, which nix doesn't like - [ ] work out how rust config might happen if rustc needs to be available at runtime
- [ ] git reference to
pinnacle-api-defs
works withcargo build
but not in nix- package doesn't get to see the full source with
api/protocol/
like in cargo build - api/protocol only seems referenced here an in xtask - maybe move it here?
- alternative is retrieve it with cargo-make or something similar
- package doesn't get to see the full source with
- [ ] git reference to
- [ ] figure out the luarocks situation (either roll it as part of 3 or use something like luarocks-nix during build)
-
- (maybe) nix configuration
- [ ] direct nix config (probably don't do this)
- [ ] make lua config from options
- [ ] however declarative nix -> rust -> compiled config would work