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

Generic build instructions #352

Closed
hughwilliams94 opened this issue Dec 11, 2019 · 9 comments · Fixed by #353
Closed

Generic build instructions #352

hughwilliams94 opened this issue Dec 11, 2019 · 9 comments · Fixed by #353
Labels
Milestone

Comments

@hughwilliams94
Copy link

Would it be possible to provide some straightforward build instructions for user that are not using Fedora or the Nix package manager. I tried to look through Travis config and run the cabal commands manually, but always encountered problems on Arch Linux.

@romanofski romanofski added the doc label Dec 13, 2019
@romanofski
Copy link
Member

Hi @hughwilliams94 ,

I think that's a great idea. I think our HACKING document provides insights in how to setup a development environment, but is perhaps not as obvious as our README on the front of the repository?

@romanofski romanofski added this to the 1.0 milestone Dec 13, 2019
@frasertweedale
Copy link
Member

frasertweedale commented Dec 13, 2019 via email

@hughwilliams94
Copy link
Author

I did have a look at the HACKING document, but again the instructions are for using Nix. I do agree it should probably be linked from the readme though.

@romanofski
Copy link
Member

The thing with linking it from the README is that I think no one actually notices it. Reason that I believe that it's not obvious is because we already link to the HACKING document.

Perhaps the better place (I thought at least) would be below the repositories/instructions for Fedora/Nix ?

@romanofski
Copy link
Member

@hughwilliams94 Btw. if there are any specific problems you're hitting when you've tried to build purebred I'd be interested to know about them too. Can't hurt to know what people try and what they're running into especially on platforms we don't use.

romanofski added a commit that referenced this issue Dec 20, 2019
This patch adds build instructions to use with cabal.

This is mainly targeting users who don't have access to nix or use a
Fedora distro. Cabal is somewhat universal to Haskell so theoretically
using Cabal should work everywhere. However, these instructions don't
give any help in regards problems users could face like:

* missing system dependencies
* GHC problems
* version mismatches
* etc

Fixes #352
romanofski added a commit that referenced this issue Dec 20, 2019
This patch adds build instructions to use with cabal.

This is mainly targeting users who don't have access to nix or use a
Fedora distro. Cabal is somewhat universal to Haskell so theoretically
using Cabal should work everywhere. However, these instructions don't
give any help in regards problems users could face like:

* missing system dependencies
* GHC problems
* version mismatches
* etc

Fixes #352
@romanofski
Copy link
Member

@hughwilliams94 would you mind giving the instructions added in #353 a crack? I'd be interested whether these are enough to help you get going.

@hughwilliams94
Copy link
Author

Hi thanks for updating the page. I had a go but I have been getting endless dependency errors from cabal. I think it may well be linked to this point in the Arch Wiki. I don't have any idea how the haskell packaging ecosystem works, but I tried the recommendations in that link and nothing seems to help.

@hughwilliams94
Copy link
Author

Reading up a little it seems that Haskell is a bit messed up on Arch, I have decided to remove all of the system packages and try to go down the stack route to see whether the situation improves.

@hughwilliams94
Copy link
Author

Switching to stack and then installing cabal allowed me to get these instructions to work. Purebred seems great! I suppose the best way to adapt the readme might be to add a link to this issue so that any other Arch user can try my workaround if they want too. Just for clarity's sake, I found the recommendation to switch to stack in this reddit post.

romanofski added a commit that referenced this issue Dec 25, 2019
This patch adds build instructions to use with cabal.

This is mainly targeting users who don't have access to nix or use a
Fedora distro. Cabal is somewhat universal to Haskell so theoretically
using Cabal should work everywhere. However, these instructions don't
give any help in regards problems users could face like:

* missing system dependencies
* GHC problems
* version mismatches
* etc

Fixes #352
romanofski added a commit that referenced this issue Jan 18, 2020
This patch adds build instructions to use with cabal.

This is mainly targeting users who don't have access to nix or use a
Fedora distro. Cabal is somewhat universal to Haskell so theoretically
using Cabal should work everywhere. However, these instructions don't
give any help in regards problems users could face like:

* missing system dependencies
* GHC problems
* version mismatches
* etc

Fixes #352
romanofski added a commit that referenced this issue Jan 18, 2020
This patch adds build instructions to use with cabal.

This is mainly targeting users who don't have access to nix or use a
Fedora distro. Cabal is somewhat universal to Haskell so theoretically
using Cabal should work everywhere. However, these instructions don't
give any help in regards problems users could face like:

* missing system dependencies
* GHC problems
* version mismatches
* etc

Fixes #352
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants