mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
9e6820cc71
Generalized version of the `cabalProject` and `stackProject` functions. Automatically selects the correct project type based on the `projectFileName` argument if provided or what files exist in the `src` directory if no `projectFileName` was specified. If it cannot be determined which it should use the following error message is given: ``` error: haskell-nix.project : both `stack.yaml` and `cabal.project` files exist set `projectFileName = "stack.yaml;"` or `projectFileName = "cabal.project";` ```