GNU bug report logs - #47335
xmonad fails to recompile on guix system

Previous Next

Package: guix;

Reported by: Charlie Ruppe <ruppe.charlie <at> gmail.com>

Date: Tue, 23 Mar 2021 01:16:02 UTC

Severity: normal

Found in version 1.2.0-17.ec7fb6

Done: Lars-Dominik Braun <lars <at> 6xq.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#47335: closed (xmonad fails to recompile on guix system)
Date: Wed, 15 Sep 2021 07:43:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 15 Sep 2021 09:42:39 +0200
with message-id <YUGj74a7XA+WxzQg <at> noor.fritz.box>
and subject line Re: bug#47335: Hide GHC not used for building Was: xmonad fails to recompile on guix system
has caused the debbugs.gnu.org bug report #47335,
regarding xmonad fails to recompile on guix system
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
47335: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47335
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Charlie Ruppe <ruppe.charlie <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: xmonad fails to recompile on guix system
Date: Tue, 23 Mar 2021 00:13:36 +0000
[Message part 3 (text/plain, inline)]
Package: guix
Version: 1.2.0-17.ec7fb6

I am trying to recompile xmonad with a fairly simple xmonad.hs
The package itself builds, installs, and runs correctly, but it throws
errors when recompiling my configuration. Configuration is very short but
is pasted here: http://paste.debian.net/1190543/

The same error is thrown when attempting to compile xmonad with ghc
directly, and inside and out of xmonad's build environment.

The following is the error that is printed when attempting to recompile
xmonad from within the build environment for xmonad within the directory
~/.xmonad/ containing xmonad.hs

[env]$ xmonad --recompile
XMonad will use ghc to recompile, because "/home/fever/.xmonad/build" does
not exist.
Error detected while loading xmonad configuration file:
/home/fever/.xmonad/xmonad.hs

xmonad.hs:1:1: error:
    Could not find module ‘XMonad’
    Perhaps you meant DsMonad (needs flag -package-key ghc-8.6.5)
    Use -v to see a list of the files searched for.
  |
1 | import XMonad
  | ^^^^^^^^^^^^^

xmonad.hs:2:1: error:
    Could not find module ‘XMonad.Config.Desktop’
    Use -v to see a list of the files searched for.
  |
2 | import XMonad.Config.Desktop
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Please check the file for errors.

xmonad: xmessage: executeFile: does not exist (No such file or directory)
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Lars-Dominik Braun <lars <at> 6xq.net>
To: raingloom <raingloom <at> riseup.net>
Cc: Charlie Ruppe <ruppe.charlie <at> gmail.com>, 47335-done <at> debbugs.gnu.org
Subject: Re: bug#47335: Hide GHC not used for building Was: xmonad fails to
 recompile on guix system
Date: Wed, 15 Sep 2021 09:42:39 +0200
Hi,

> I'd be very much in favor of the latter, or maybe rename it to ghc-next.
> I have some profiles ghc pinned to a version and upgrading those is
> always a mess because Guix tries to build the old version from source
> instead of using the next version.
I renamed ghc <at> 8.8 to ghc-next in commit
39b43d0d0428474a1d0bf58779d0135163b9c6e3.

Cheers,
Lars



This bug report was last modified 3 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.