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

/dev/fd/3: Permission denied in build environment #423

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

/dev/fd/3: Permission denied in build environment #423

bemyak opened this issue Nov 8, 2024 · 0 comments

Comments

@bemyak
Copy link

bemyak commented Nov 8, 2024

Hi!

I'm trying to build a Rust 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 there's something wrong with the permissions of /dev/fd/3. I can write in it in:

  • adb shell
  • termux shell
  • nix-on-droid shell

… but not in the build environment.

Any ideas how to fix this?

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

No branches or pull requests

1 participant