pinnacle icon indicating copy to clipboard operation
pinnacle copied to clipboard

Nix Packaging tracking issue

Open nixith opened this issue 2 months ago • 9 comments

Following the discussions in #212 I felt it would be best to set up a tracking issue for nix things. Currently on the list:

    1. Figure out what's going on with crane and why their full workspace config works
    1. 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 with cargo 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
    • [ ] figure out the luarocks situation (either roll it as part of 3 or use something like luarocks-nix during build)
    1. (maybe) nix configuration
    • [ ] direct nix config (probably don't do this)
    • [ ] make lua config from options
    • [ ] however declarative nix -> rust -> compiled config would work

nixith avatar Apr 22 '24 01:04 nixith