-
Notifications
You must be signed in to change notification settings - Fork 16
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
macOS support #1
Comments
https://github.com/jacereda/fsatrace has a similar implementation and supports macOS (more or less) |
Bump. I would need this for darwin but I am not familiar with rust at all. |
Bump on this one |
I think this project could be combined with https://github.com/numtide/nix-eval-cache which is a bit more generic |
It sounds a bit fragile to be based on timestamps of nix files only, no? |
It's a trade-off. It's quite rare for files to change and not their metadata. A more precise model would be to hash the content of the files, but that makes the check even more expensive. |
Took a shot at it: #25 |
It can be done by adapting
trace-nix.c
to useDYLD_INSERT_LIBRARIES
instead ofLD_PRELOAD
.Alternative solutions: adding tracing support to nix itself or adopting logged-evaluation.nix from lorri.
The text was updated successfully, but these errors were encountered: