axodotdev / axodotdev/cargo-dist
nix support?
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 149
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 32
Description
Nix is its own wild beast that really doesn't like the idea of a "general linux distro binary". If you try the binaries will just crash with "file not found". In reality you probably should just give up and generate a nix flake or whatever so people can build it themselves and use the nix binary cache.
The precise details of this are beyond me though I'm vaguely aware there's tools like [cargo2nix](https://github.com/cargo2nix/cargo2nix).
("Just use musl" isn't an answer here, right?)
Contributor guide
Research direction
The issue names no repository files, tests, or entry points. Start by researching the proposed Nix flake approach and the linked cargo2nix tool, then determine how Nix builds would fit cargo-dist's packaging flow; done would require a defined, working Nix-based build path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nixos, rust
- Domain
- build-system, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100