I am on NixOS
, but I think this question should apply to any platform using nix
.
I found that stack
you can use it with pairs of options to create a project, but I donβt quite understand the differences between them,
stack
stack --system-ghc
stack --nix
Question :
- If I use nix (NixOS in my case), is there some reason why I don't want to use the argument
--nix
? - What is the
nix
way to solve the haskell project instead of cabal
using cabal
(cabal2nix)? - I found that the stack restores many libraries that are already installed
nix
, what is the reason for this?
source
share