-
Notifications
You must be signed in to change notification settings - Fork 21
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
Plan for removal of user activation. #60
Comments
Since the activation script just runs a generated script with |
Essentially what I did and it works fine. There doesn't seem to be a nicer way to hook into each step as this has to run before |
Right. You could drop the Though, if it has to run after |
Yeah, not dropping the sudo was just to keep changes to a minimal. |
You can use In an ideal world the monkey‐patching could be avoided entirely though… but for something like this it seems like the best option. Would be nice to have Homebrew installation management upstream, but there are a lot of trade‐offs… |
I opened #64 to support this. There is a bit of monkey-patching to detect the presence of |
Might be a little early however I have started using the following branch which eliminates user activation.
LnL7/nix-darwin#1341
However this breaks nix-homebrew (Currently because of extraUserActivation here
https://github.com/zhaofengli/nix-homebrew/blob/a6d99cc7436fc18c097b3536d9c45c0548c694c8/modules/default.nix#L495C7-L495C26 )
https://github.com/emilazy/nix-darwin/blob/push-vuqkuqtwsoox/CHANGELOG
Making the issue to get some discussion going if/when this becomes part of nix-darwin.
The text was updated successfully, but these errors were encountered: