In practice, it's not that restricting. It's pretty rare to find something actually requiring a more recent version. (And there's slow progress in updating it)
This looks interesting. Personally I have been moving away from homebrew and use nix-darwin (https://github.com/LnL7/nix-darwin) with home-manager for my local software. It has been working great, but there are still a few packages that require Homebrew due to their complex build process. Maybe this helps.
That said, nix-darwin is still useful for doing system level things, like enabling Touch ID for `sudo`. I use that in my config: https://github.com/srid/nixos-config
I always have brew available because I inevitably run into issues with Nix packages (primarily managed by home-manager) on a pretty regular basis. Feels like I would be going in the opposite direction by wrapping them in Nix.
Reading the comments, may be it is worth clarifying: this allows macOS users with nix package manager to install brew cask (I.e. typically GUI program that companies releases as pkg or dmg, etc., such as Mathematica, GitHub Desktop, Adobe CC…) without having brew at all.
I.e. it “steals” those brew cask formula and automatically repackage them as nix packages.
A closely related usage would be macOS with nix with nix-darwin, and using nix-darwin config to includes brew casks. This way, nix-darwin assumes brew exists and uses brew to install those casks.
This does have a major distinction on where the applications actually located, where some applications would upset if it is not inside /Applications.
[+] [-] madmax96|1 year ago|reply
[+] [-] viraptor|1 year ago|reply
[+] [-] loveparade|1 year ago|reply
[+] [-] srid|1 year ago|reply
Here's a template config to get started:
https://github.com/juspay/nix-dev-home
---
That said, nix-darwin is still useful for doing system level things, like enabling Touch ID for `sudo`. I use that in my config: https://github.com/srid/nixos-config
[+] [-] conradev|1 year ago|reply
- Located in the nix store, so not indexed by Spotlight
- Not signed so I have to grant permissions all over again when an app gets rebuilt
[+] [-] parhamn|1 year ago|reply
[+] [-] aliasxneo|1 year ago|reply
[+] [-] pxc|1 year ago|reply
[+] [-] ThrowawayTestr|1 year ago|reply
[+] [-] muixoozie|1 year ago|reply
[+] [-] KolenCh|1 year ago|reply
I.e. it “steals” those brew cask formula and automatically repackage them as nix packages.
A closely related usage would be macOS with nix with nix-darwin, and using nix-darwin config to includes brew casks. This way, nix-darwin assumes brew exists and uses brew to install those casks.
This does have a major distinction on where the applications actually located, where some applications would upset if it is not inside /Applications.
[+] [-] okkdev|1 year ago|reply
[+] [-] unknown|1 year ago|reply
[deleted]