mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-20 03:18:00 +03: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";` ``` |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
default.nix | ||
package.yaml | ||
snapshot.yaml | ||
stack.yaml |