unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: William <wonko7@gmail.com>
To: help-guix@gnu.org
Subject: xmonad, xmonad-contrib & GHC_PACKAGE_PATH?
Date: Tue, 20 Apr 2021 09:47:41 +0200	[thread overview]
Message-ID: <CAFBkDVvjUzXF0gY96aeeOQT0CG-5ZCsqG_=gUBctG0VT7PW1uQ@mail.gmail.com> (raw)

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


             reply	other threads:[~2021-04-20 20:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-20  7:47 William [this message]
2021-04-21  4:00 ` xmonad, xmonad-contrib & GHC_PACKAGE_PATH? Oleg Pykhalov
2021-04-21  4:20   ` John Soo
2021-04-21  7:06     ` William

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFBkDVvjUzXF0gY96aeeOQT0CG-5ZCsqG_=gUBctG0VT7PW1uQ@mail.gmail.com' \
    --to=wonko7@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).