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

Instructions for ArchLinux. #339

Open
alissa-tung opened this issue Oct 20, 2021 · 2 comments
Open

Instructions for ArchLinux. #339

alissa-tung opened this issue Oct 20, 2021 · 2 comments

Comments

@alissa-tung
Copy link

This is not a bug, but I thought is missing somewhere.

Although ArchLinux had a patch on the default build scripts (enable -dynamic), there's still something worth mentioned on correspondence pages (ArchLinux Wiki, XMonad documents, etc.) that is
If you install XMonad via Pacman from the official repository, make sure you are using the dependencies of the package, especially GHC (/usr/bin/ghc), which can be done by a minor tweaked build script.
The current XMonad implementation encode the default compile command using the string "ghc", which is undecidable which to call (ghcup, nix-env, nix-shell or even more cursed).

@slotThe
Copy link
Member

slotThe commented Oct 20, 2021

I think the general consensus is that we want users on Arch to build with stack or cabal instead of having to endure dynamically linked Haskell. The tutorial mentions something like this already but then again we do have instructions for Arch in INSTALL.md...

A PR for improving documentation for Arch would be welcome—some people insist on using pacman, after all

@mikenrafter
Copy link
Contributor

Another solution would be to use nix.

Though, that may be overkill for most users.

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

No branches or pull requests

3 participants