5 ms·
Related issue[0]. I moved over from Homebrew to Nix around 5 months ago, haven't since needed to use Homebrew except for casks. [0] "Support for Apple Silicon
by siraben 6y ago
Related issue[0].
I moved over from Homebrew to Nix around 5 months ago, haven't since needed to use Homebrew except for casks.
[0] "Support for Apple Silicon (aarch64-darwin)" https://github.com/NixOS/nixpkgs/issues/95903 https://github.com/NixOS/nixpkgs/issues/95903
- soraminazuki 6y agoIt can replace casks too, as mac apps can also be packaged in Nix.
- siraben 6y agoWhere can I find out how to do this?
- soraminazuki 6y agoInstalling a package is enough. For example, if you install the emacs package, Emacs.app would be available in ~/.nix-profile/Applications/Emacs.app. If you want to launch apps you've installed with Nix using Lanchpad or Spotlight, you can use nix-darwin[1] or home-manager[2] to create a symlink in ~/Applications, though the latter seems to have temporarily disabled this feature due to conflicts between the two. [1]: https://github.com/LnL7/nix-darwin/blob/master/modules/system/applications.nix https://github.com/LnL7/nix-darwin/blob/master/modules/syste... [2]: https://github.com/nix-community/home-manager/blob/master/modules/targets/darwin.nix https://github.com/nix-community/home-manager/blob/master/mo...
- siraben 6y ago> Installing a package is enough. For example, if you install the emacs package, Emacs.app would be available in ~/.nix-profile/Applications/Emacs.app. Right. I'm using home-manager on darwin and various apps like Emacs, Alacritty, Kitty are supported. However, many GUI apps are not, such as Firefox, so that's why I'm still using Homebrew's cask.