unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* xmonad, xmonad-contrib & GHC_PACKAGE_PATH?
@ 2021-04-20  7:47 William
  2021-04-21  4:00 ` Oleg Pykhalov
  0 siblings, 1 reply; 4+ messages in thread
From: William @ 2021-04-20  7:47 UTC (permalink / raw)
  To: help-guix

Hi all!

I'm trying to get xmonad to run, here's what I've tried:
I created a desktop profile for my user with:
(specifications->manifest '("xmonad" "ghc-xmonad-contrib" "ghc-hostname"))

I have "source .../desktop/etc/profile" and "exec xmonad" in my
.xinitrc and an xmonad config in ~/.xmonad/xmonad.hs.
I would have expected this to work, but running xmonad --recompile fails with:
xmonad: ghc: runProcess: runInteractiveProcess: exec: does not exist
(No such file or directory)

So I added ghc to the profile above, and now xmonad --recompile tells me:
Could not find module XMonad
(and a bunch of similar errors).

I tried adjusting GHC_PACKAGE_PATH to the profile's ghc
package.conf.d, but that didn't help.

So what's the correct procedure for using xmonad?
Do I need to fix a ghc version in my manifest? how do I find out which
ghc xmonad used?
If I need other libs (ghc-hostname for example) how do I specify one
that's compiled with the same ghc?
Or maybe something to be done in config.scm?

Thanks for your time,

-- 
Wonko7


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-21 21:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20  7:47 xmonad, xmonad-contrib & GHC_PACKAGE_PATH? William
2021-04-21  4:00 ` Oleg Pykhalov
2021-04-21  4:20   ` John Soo
2021-04-21  7:06     ` William

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).