haskell.nix/test/stack-local-resolver
Hamish Mackenzie 9e6820cc71
Add haskell-nix.project (and project') (#703)
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";`
```
2020-06-19 20:07:19 +12:00
..
src test: Fails to use snapshot.yaml (#338) 2019-12-04 10:56:08 +08:00
.gitignore test: Fails to use snapshot.yaml (#338) 2019-12-04 10:56:08 +08:00
default.nix Add haskell-nix.project (and project') (#703) 2020-06-19 20:07:19 +12:00
package.yaml test: Fails to use snapshot.yaml (#338) 2019-12-04 10:56:08 +08:00
snapshot.yaml test: Fails to use snapshot.yaml (#338) 2019-12-04 10:56:08 +08:00
stack.yaml test: Fails to use snapshot.yaml (#338) 2019-12-04 10:56:08 +08:00