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

Build fails on nix-on-droid #734

Open
bemyak opened this issue Nov 8, 2024 · 0 comments
Open

Build fails on nix-on-droid #734

bemyak opened this issue Nov 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bemyak
Copy link

bemyak commented Nov 8, 2024

Describe the bug

I'm trying to build a package inside a nix-on-droid environment, but the build fails on the installation phase:

Running phase: installPhase
@nix { "action": "setPhase", "phase": "installPhase" }
searching for bins/libs to install from cargo build log at cargoBuildLog3y5q.json
installing /tmp/nix-build-zola-new-0.1.6.drv-0/source/target/release/zola-new
searching for bins/libs complete
stripping references to cargoVendorDir from:
tee: /dev/fd/3: Permission denied

(the origin is here I believe)

Seems like it's not allowed to write to /dev/fd/3 on Android. Can this be avoided somehow?

I realize that it's a pretty niche use case, but it would be so cool to get it working 🙂

Reproduction

  1. Install nix-on-droid
  2. Try to build any rust package (I'm building https://gitlab.com/bemyak/zola-new)

(NB: The process takes hours because of how proot is slow)

@bemyak bemyak added the bug Something isn't working label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant