4 ms·
So Haskell users use NixOS and Scheme users use Guix?
by type0 10y ago
So Haskell users use NixOS and Scheme users use Guix?
- drawnwren 10y agoIt's not Haskell, strictly speaking. There are some weird global state mutations in NixOS (I.e. the pkgs object) that aren't as intuitive as you'd like. Also, the novel file structure makes composing packages that aren't already built to do so quite difficult. Trying to get eclimd to work with emacs and eclipse was a giant pain.
- Profpatsch 10y agoThere are no global state mutations in `pkgs`. All immutable parts are in `impure.nix`, which already has a complete `pkgs`. Maybe you are confusing state mutations with fixed points, which are used extensively (thankfully).
- drawnwren 10y agoThere are no global state mutations in pkgs until you need a custom package, and then you're overriding the global state with your own custom state.
- vertex-four 10y agoThat does not modify global state - it creates a new state from the old one + your modifications.
- dom0 10y agoIn other words, it modifies global state.
- vertex-four 10y agoI expect that your issue is more with the fact that there is a mega state object that contains almost everything - not that it is somehow global, which it isn't. You can't access it unless it is passed to you.
- thomastjeffery 10y agoGenerally, yes. Nix has great support for haskell libraries, AFAIK. Guix uses guile scheme, so that certainly attracts scheme users.