Skip to content

Add cross bundle support#122

Open
seanybaggins wants to merge 9 commits into
nix-community:masterfrom
seanybaggins:add-cross-bundle-support
Open

Add cross bundle support#122
seanybaggins wants to merge 9 commits into
nix-community:masterfrom
seanybaggins:add-cross-bundle-support

Conversation

@seanybaggins

@seanybaggins seanybaggins commented Jun 2, 2025

Copy link
Copy Markdown

Steps to test

nix bundle \
  --bundler 'github:seanybaggins/nix-bundle?ref=add-cross-bundle-support#toArxArm64Cross' \
  nixpkgs#pkgs.pkgsCross.aarch64-multiplatform.hello

Copy bin to device with aarch64 architecture. Then...

./hello-arx
Cannot stat /root: No such file or directory
Hello, world!

Local bundling

nix bundle \
  --bundler 'github:seanybaggins/nix-bundle?ref=add-cross-bundle-support' \
  nixpkgs#hello
 ./hello-arx
Hello, world!

@seanybaggins seanybaggins mentioned this pull request Jun 9, 2025
4 tasks
@filipencopav

Copy link
Copy Markdown

Need this. How can I contribute?

@seanybaggins

seanybaggins commented Mar 12, 2026

Copy link
Copy Markdown
Author

In the steps to test, you can replace the last line with the package you want to bundle. You can also use it as a flake input and make your flakes default bundler.

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 this pull request may close these issues.

2 participants