Skip to content

Conversation

@hamishmack
Copy link
Collaborator

Change callCabalProjectToNix to use the index-state specified in the
cabal.project file by default.

# Look for a index-state: field in the cabal.project file
index-state-found = if index-state != null then index-state
else
let
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we turn this into a parse-index-state function?

Change callCabalProjectToNix to use the `index-state` specified in the
`cabal.project` file by default.
@hamishmack hamishmack force-pushed the hkm/project-index-state branch from e014257 to a64f83d Compare July 16, 2019 03:24
@hamishmack hamishmack force-pushed the hkm/project-index-state branch from a64f83d to 491e28d Compare July 16, 2019 05:10
@angerman
Copy link
Collaborator

angerman commented Jul 16, 2019

I still think this should have been a function. But alright.

@angerman angerman merged commit 3d02d75 into master Jul 16, 2019
@angerman angerman deleted the hkm/project-index-state branch July 16, 2019 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants