Cross compile nix-portable and expose common linux architectures in the flake #252

Open
abonerib wants to merge 6 commits from abonerib/jungle:nix-portable-riscv into master
Collaborator

Why this we should be able to run in grace / hca.

Tested in ng-grace (built with nix build .#pkgsCross.aarch64-multiplatform.nix-portable):

[bsc569433@ngs01r3b18 ~]$ NP_LOCATION=/scratch/tmp/nix ./nix-portable-aarch nix shell git+https://jungle.bsc.es/git/abonerib/jungle?ref=nix-portable-riscv#ovni
[bsc569433@ngs01r3b18:~]$ ovniver
LD_LIBRARY_PATH not set
libovni: build v1.13.0 (0643266), dynamic v1.13.0 (0643266)

Tried riscv on HCA's bananas and bwrap doesn't seem to work (and zstd segfaults)

Why this we should be able to run in grace / hca. Tested in ng-grace (built with `nix build .#pkgsCross.aarch64-multiplatform.nix-portable`): ```console [bsc569433@ngs01r3b18 ~]$ NP_LOCATION=/scratch/tmp/nix ./nix-portable-aarch nix shell git+https://jungle.bsc.es/git/abonerib/jungle?ref=nix-portable-riscv#ovni [bsc569433@ngs01r3b18:~]$ ovniver LD_LIBRARY_PATH not set libovni: build v1.13.0 (0643266), dynamic v1.13.0 (0643266) ``` Tried riscv on HCA's bananas and bwrap doesn't seem to work (and zstd segfaults)
abonerib added 6 commits 2026-03-18 15:33:17 +01:00
All checks were successful
CI / build:cross (pull_request) Successful in 8s
CI / build:all (pull_request) Successful in 2m43s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u nix-portable-riscv:abonerib-nix-portable-riscv
git checkout abonerib-nix-portable-riscv
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/jungle#252