Closed GTrunSec closed 1 year ago
@GTrunSec Have you considered using plain nixpkgs (pkgs.haskellPackages
) here? It has the advantage of giving you a faster nix-shell compared to that of haskell.nix. The latter is also a more complex to deal with. Here's an example: https://github.com/srid/haskell-template/blob/master/flake.nix
EDIT: More relevant example, https://github.com/lucasvreis/abacateiro/pull/3
I appreciate the effort but I don't understand nix, so I will leave this open. The same goes for https://github.com/lucasvreis/abacateiro/pull/3. When things get more stable I can consider merging both, if any of you have interest in maintaining the support. And with some sort of CI that makes sure things aren't suddenly broken for nix users.
To be fair I don't see the point of nix over cabal, eventually we can consider locking the executable dependencies using cabal freeze if needed. If the user has a supported GHC and cabal versions, it is supposed to build.
You can choose whether to merge or not, just to help some nix users use org-parser easily.