Skip to content

bootstrap: Use dependencies.txt to list packages #176

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

Closed
wants to merge 1 commit into from
Closed

bootstrap: Use dependencies.txt to list packages #176

wants to merge 1 commit into from

Conversation

petertseng
Copy link
Member

Thanks to #159, we have a list of dependencies of each exercise. We
should replace the current hard-coded list in bootstrap.sh with one
inferred from dependencies.txt.

Closes #175

@petertseng
Copy link
Member Author

Completely untested so I probably will not get it right on the first try. Oh well, let's see what we got.

Thanks to #159, we have a list of dependencies of each exercise. We
should replace the current hard-coded list in `bootstrap.sh` with one
inferred from `dependencies.txt`.

Closes #175
@petertseng
Copy link
Member Author

I'm stunned that it appear that with a single cabal installs it worked but with individual cabal installs we apparently fail on old-locale

sort |
uniq |
# Exclude packages included in GHC
grep -v 'base\|array\|containers\|time'
Copy link
Member Author

Choose a reason for hiding this comment

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

this is a "wat". how can we improve this? I would not like have to hard-code these.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this behavior is by design. When you ask for a simple package, it will try to install the newest one possible. If you supply multiple packages, it will try to satisfy all restrictions at the same time.

You should probably use a single cabal install.

@petertseng
Copy link
Member Author

Just a second there, going to close this one and open a new one, ince I have a suspicion about something I did to Travis.

@petertseng petertseng closed this Jul 3, 2016
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.

2 participants