-
Notifications
You must be signed in to change notification settings - Fork 121
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
Uninstalling Homebrew Casks doesn't work as expected #127
Comments
I just had this problem today and reminded myself why I don't like Nix. To solve this myself, I just ran:
|
First of all thanks! I am gonna try this in a few days when I'm done writing my thesis, to ensure no accidental mess-ups interfere with my deadline... Kind of a weird solution though, right? That should be managed by nix-homebrew, but somehow I didn't find a config option |
Find this issue from In short, you can just pass all taps of homebrew.taps = builtins.attrNames config.nix-homebrew.taps; |
This seems like a well-working solution at the moment, thanks a lot! |
I am trying to uninstall my Sublime cask. So i removed the cask from the list and my home-manager has the 'onActivation.cleanup = "zap"' option set.
When I do
nix run .#build-switch
, I get:Error: Refusing to untap homebrew/cask because it contains the following installed formulae or casks:
followed by a list of all my casks, including sublime-text.
I am super helpless, feel like I've searched every post out there and the documentation of nix-homemanager.
Is there any known solution so far?
The text was updated successfully, but these errors were encountered: