News for hackers. Stuff that matters.
Re:What Is Nix? by yakshaving_jgt on Wednesday May 20, 2020 @10:49PM (#23254373)
You do not understand correctly.

Nix users use binary caches[0] instead of building everything from source. You can use the binary cache provided by NixOS, or Cachix[1], or something you set up and host yourself, or all of the above.

[0]: https://nixos.wiki/wiki/Binary_Cache

[1]: https://cachix.org/

Re:What Is Nix? by m_mueller on Thursday May 21, 2020 @04:21AM (#23256022)
Then why would a build take so long as GP describes?
Re:What Is Nix? by yakshaving_jgt on Thursday May 21, 2020 @04:40AM (#23256144)
I can't imagine why some unknown people encountered difficulty building some unknown project.

We use Nix to build and deploy our big Haskell monolith along with the operating system itself, and all system dependencies, e.g., PostgreSQL, Redis, Grafana, collectd, influxdb, openssh, ejabberd, Elm applications, etc, and it works fabulously.

Re:What Is Nix? by illumin8 on Thursday May 21, 2020 @10:55AM (#23259086)
GP here. My guess is that they intentionally disabled binary caching because this is a financial application and they wanted to make sure no untrusted binaries got into the build pipeline.
Re:What Is Nix? by m_mueller on Friday May 22, 2020 @04:09AM (#23269724)
Thanks! That makes some sense. Though, I work for a financial service provider as well and have never found compile-from source to be solution to that problem. If you do have dependencies, whether you trust the sources or the binaries shouldn't really matter, as long as you trust the repositories where they come from. And if you don't trust it I wanna see the army of developers actually checking all the sources down to the system level.