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

pre-build-hook is ignored on MacOS #12390

Open
2 tasks
arianvp opened this issue Jan 31, 2025 · 0 comments
Open
2 tasks

pre-build-hook is ignored on MacOS #12390

arianvp opened this issue Jan 31, 2025 · 0 comments
Labels

Comments

@arianvp
Copy link
Member

arianvp commented Jan 31, 2025

Describe the bug

It seems pre-build-hook has no effect on MacOS even though MacOS supports sandbox = true and extra-sandbox-paths

Steps To Reproduce

nix build --pre-build-hook my-hook

Expected behavior

It should fail because my-hook doesn't exist. but it succeeds because the hook isn't executed

Metadata

Additional context

Checklist


Add 👍 to issues you find important.

@arianvp arianvp added the bug label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant