Skip to content
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

A successful build using stack. #187

Open
drhodes opened this issue Jun 29, 2020 · 1 comment
Open

A successful build using stack. #187

drhodes opened this issue Jun 29, 2020 · 1 comment

Comments

@drhodes
Copy link

drhodes commented Jun 29, 2020

Hi all, not sure if this is the right place for this message. Anyways, I wanted to build bsc without installing a system wide ghc. Six line changes later, bsc is building with stack, albeit with the checktool disabled.

For anyone interested, here's the diff:
master...drhodes:stack-build


steps to build with the above changes 

/bsc $ stack --version
Version 2.1.3,

/bsc $ stack init 
/bsc $ stack install regex-compat syb old-time split

/bsc $ make all
success!

This was easier than it should have been, no yaks were shaved, no deities invoked, etc, etc.
(more information on stack)

@quark17
Copy link
Collaborator

quark17 commented Jun 30, 2020

Cool. Maybe someone can adjust the makefiles to support conditionally using stack. FYI, the tool checks can be disabled by defining NO_DEPS_CHECKS when calling make.

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

No branches or pull requests

2 participants