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

macOS support #1

Closed
xzfc opened this issue Jan 8, 2020 · 7 comments
Closed

macOS support #1

xzfc opened this issue Jan 8, 2020 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@xzfc
Copy link
Owner

xzfc commented Jan 8, 2020

It can be done by adapting trace-nix.c to use DYLD_INSERT_LIBRARIES instead of LD_PRELOAD.

Alternative solutions: adding tracing support to nix itself or adopting logged-evaluation.nix from lorri.

@xzfc xzfc added the help wanted Extra attention is needed label Jan 8, 2020
@zimbatm
Copy link

zimbatm commented Jan 17, 2020

https://github.com/jacereda/fsatrace has a similar implementation and supports macOS (more or less)

@SuperSandro2000
Copy link

Bump. I would need this for darwin but I am not familiar with rust at all.

@olebedev
Copy link

Bump on this one

@zimbatm
Copy link

zimbatm commented May 24, 2022

I think this project could be combined with https://github.com/numtide/nix-eval-cache which is a bit more generic

@olebedev
Copy link

It sounds a bit fragile to be based on timestamps of nix files only, no?

@zimbatm
Copy link

zimbatm commented May 27, 2022

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.

@uri-canva
Copy link
Contributor

uri-canva commented Aug 5, 2022

Took a shot at it: #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants