Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix - update flake.nix to better support cross-system eval #1757

Closed
colemickens opened this issue Mar 5, 2022 · 1 comment · Fixed by #1758
Closed

nix - update flake.nix to better support cross-system eval #1757

colemickens opened this issue Mar 5, 2022 · 1 comment · Fixed by #1758
Labels
A-packaging Area: Packaging and bundling C-enhancement Category: Improvements

Comments

@colemickens
Copy link

Describe your feature request

Hi! My workflow for Nix is that I evaluate locally on my machine to create derivations, then I build those derivations on a powerful remote machine with a matching system architecture. In this way I can specify homogenous config for my machines regardless of architecture and coordinate eval/builds from my development machine without needing to think too hard about it.

Adding helix to my configurations threw a wrench in things because nix-cargo-integration was not properly evaluating cross-system -- when I would nix build --eval-store auto ... .#something-aarch64 on my x86_64 machine, the eval would fail. This sort of soft-blocks my deployments, and more-over is something I was hoping would get fixed because I want to see more awesome Rust projects adding good native Nix support.

Per issues on other repos, it seems like this is now fixed, but will require some changes to the flake. I'm not sure if I'll be able to get to this soon, so I wanted to file this.

See here for more details: yusdacra/nix-cargo-integration#58 (comment)

@colemickens colemickens added the C-enhancement Category: Improvements label Mar 5, 2022
@colemickens
Copy link
Author

cc: @the-mikedavis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-packaging Area: Packaging and bundling C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants