Adds a build and output for the dioxus-cli #4519
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Using the latest build of dx on nix or nixos is difficult because of the package manager requirements and the differing ELF interpreter requirements. You would either need to take an existing bin and run patchelf on it to change the expected location of the ELF interpreter. Either that or we need to build from source.
This change to the flake.nix adds a package output for the dx bin that allows it to be built from source and included directly into another flake as an input.
Included here is a partial framework of the flake I generally use (per project) for rust development, and shows how you can reference this flake in the inputs and then 'install' the dx client in the 'devDeps' such that it is included in the devShell.