▲ | cyberax 3 days ago | ||||||||||||||||
Downside: it's Nix. I tried it, but I have not been able to easily replicate our Homebrew env. We have a private repo with pre-compiled binaries, and a simple Homebrew formula that downloads the utilities and installs them. Compiling the binaries requires quite a few tools (C++, sigh). I got stuck at the point where I needed to use a private repo in Nix. | |||||||||||||||||
▲ | lloeki 3 days ago | parent [-] | ||||||||||||||||
> We have a private repo with pre-compiled binaries, and a simple Homebrew formula that downloads the utilities and installs them. Perfectly doable with Nix. Ignore the purists and do the hackiest way that works. It's too bad that tutorials get lost on concepts (which are useful to know but a real turn down) instead of focusing on some hands-on practical how-to. This should about do it and is really not that different nor difficult than formulas or brew install:
(I just cobbled that up together, if it doesn't work as is it's damn close; flakes left as an exercise to the reader)Note: if it's a private repo then in /etc/nix/netrc (or ~/.config/nix/netrc for single user installs):
> Compiling the binaries requires quite a few tools (C++, sigh).Instantly sounds like a whole reason to use nix and capture those tools as part of the dependency set. | |||||||||||||||||
|