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

Access to absolute path '/private' is forbidden in restricted mode #704

Open
hadilq opened this issue Feb 12, 2025 · 1 comment
Open

Access to absolute path '/private' is forbidden in restricted mode #704

hadilq opened this issue Feb 12, 2025 · 1 comment

Comments

@hadilq
Copy link

hadilq commented Feb 12, 2025

I try to run androidenv's test on my PR, especially I want to check them with aarch64-darwin, but it skipped! What am I missing?

OfBorg / androidenv.test-suite.tests on aarch64-darwin

No attempt

The following builds were skipped because they don't evaluate on aarch64-darwin: androidenv.test-suite.tests
Details
Partial log

Cannot nix-instantiate `androidenv.test-suite.tests` because:
error: access to absolute path '/private' is forbidden in restricted mode

As a side question, how can I set export NIXPKGS_ACCEPT_ANDROID_SDK_LICENSE=1, which is the problem with x86_64-linux, for instance?

Thank you!

@bryango
Copy link
Member

bryango commented Feb 13, 2025

This is happening in recent PRs including my own NixOS/nixpkgs#381668. For now, the failures are only happening on darwin builds:

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

2 participants