-
Notifications
You must be signed in to change notification settings - Fork 247
Add haskell-nix.project (and project') #703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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";` ```
|
@michaelpj you think? I would assume most people think of their haskell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
lgtm |
I guess I just find |
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";` ```
Generalized version of the
cabalProject
andstackProject
functions.
Automatically selects the correct project type based on the
projectFileName
argument if provided or what files exist inthe
src
directory if noprojectFileName
was specified.If it cannot be determined which it should use the following
error message is given: