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

[FR] - Support aarch64-linux in Nix Flake #805

Closed
sempruijs opened this issue Jun 28, 2024 · 4 comments · Fixed by #837
Closed

[FR] - Support aarch64-linux in Nix Flake #805

sempruijs opened this issue Jun 28, 2024 · 4 comments · Fixed by #837
Assignees

Comments

@sempruijs
Copy link

External

Area
Regarding the build system outputs

Describe the feature you'd like
I would like to build cardano-cli on aarch64-linux via the nix flake.
I use aarch64-linux in a virtual machine on my mac and raspberry pi is also aarch64-linux.
Here's what I would like to do:

nix build github:intersectmbo/cardano-node#packages.aarch64-linux.cardano-cli
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I think you can build it on aarch64-linux but as far I know not via the nix flake.
If I'm missing something please let me know.

@carbolymer
Copy link
Contributor

Related comment and PR: #686 (comment)

@carbolymer carbolymer self-assigned this Jul 1, 2024
@carbolymer
Copy link
Contributor

carbolymer commented Jul 4, 2024

I use aarch64-linux in a virtual machine

Do you need to build on aarch64-linux natively, or a cross-compilation to aarch64-linux would
be sufficient? We have a PR enabling cross-compilation to that architecture - does that work for you: #819 ?

@sempruijs
Copy link
Author

I need it natively. I want to use my raspi 5 as an airgaped machine. I have nix installed on it and when cardano-cli has a new update I could move the files of this repository via a usb stick on my pi and compile the new version. If someone has a better alternative to work around this I'll would love to hear it.
Using nix build blablabla is way easier for me then manually installing all sorts of tools because of my visual impairment.

@smelc
Copy link
Contributor

smelc commented Jul 16, 2024

Reopening because #819 introduced production of aarch64-linux binaries (via cross compilation), but it's still not supported by the flake (which is what this issue is about).

@smelc smelc reopened this Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants