[xmonad] Errors building Xmonad using Stack

Brandon Allbery allbery.b at gmail.com
Wed Jul 20 20:45:59 UTC 2022


You ran it in ~/.cabal so that (or ~/.ghc/<version>/environments) is
where the environment file will have been written. Rerun it from your
xmonad directory.

On Wed, Jul 20, 2022 at 4:39 PM Alain Bertrand <alainbe at free.fr> wrote:
>
> On 20/07/2022 22:07, Brandon Allbery wrote:
> > On Wed, Jul 20, 2022 at 3:53 PM Alain Bertrand <alainbe at free.fr> wrote:
> >> Up to date
> > That just means it didn't need to rebuild it. With `--lib` (run in
> > your config directory) it should have placed a reference in
> > .ghc.environment.x86_64-linux-9.2.2 (or the file for your arch and ghc
> > version) pointing to that build.
>
> alain at keitai-kun:~/.config/xmonad$less .ghc.environment.x86_64-linux-9.0.2
> clear-package-db
> global-package-db
> package-db /home/alain/.cabal/store/ghc-9.0.2/package.db
> package-id ghc-9.0.2
> package-id bytestring-0.10.12.1
> package-id unix-2.7.2.2
> package-id base-4.15.1.0
> package-id time-1.9.3
> package-id hpc-0.6.1.0
> package-id filepath-1.4.2.1
> package-id process-1.6.13.2
> package-id array-0.5.4.0
> package-id integer-gmp-1.1
> package-id containers-0.6.4.1
> package-id ghc-boot-9.0.2
> package-id binary-0.8.8.0
> package-id ghc-prim-0.7.0
> package-id ghci-9.0.2
> package-id rts
> package-id terminfo-0.4.1.5
> package-id transformers-0.5.6.2
> package-id deepseq-1.4.5.0
> package-id ghc-boot-th-9.0.2
> package-id pretty-1.1.3.6
> package-id template-haskell-2.17.0.0
> package-id directory-1.3.6.2
> package-id text-1.2.5.0
> package-id
> xmonad-0.17.0.9-b4e660580e456c0b76d6684ea6c36aa9f842fba67ca1df64a078c853ad35bd20
> package-id
> xmonad-contrib-0.17.0.9-daff76930af18c2a36e1f59c1ccff68d2eac57a7daa8ef624b7a563f69155de5
>
> Alain
>
>
>
> >> alain at keitai-kun:~/.cabal$ find ~/.cabal/ -iname "*Graphics.X11*"
> >> doesn't return anything.
> > It shouldn't.
> >
> > ```
> > skkukuk «xmonad:skkukuk» ⁅xmonad-bsa⁆ Z$ find ~/.cabal/store -name
> > Extras.hi | grep X11
> > /home/allbery/.cabal/store/ghc-8.10.7/X11-1.10.2.9-c3d401e9736614a1db62dd2dda7d29067d1ace0059409be90f3c058f42b40554/lib/Graphics/X11/Xlib/Extras.hi
> > /home/allbery/.cabal/store/ghc-8.10.7/X11-1.10.2.9-69a542fe0d254de23614770efb493c65fffd1be2e41c3fdddc97c28ff17ad25b/lib/Graphics/X11/Xlib/Extras.hi
> > /home/allbery/.cabal/store/ghc-8.10.7/X11-1.10.2.9-b54e5c9ecb432b904f155e49efca152f202220cbb9e1f5c36133ab09ebfc9a21/lib/Graphics/X11/Xlib/Extras.hi
> > /home/allbery/.cabal/store/ghc-8.10.7/X11-1.10-becb10875298751a2141e1a560b7b57cc7a8d9bce3f21190e6678a04233491a9/lib/Graphics/X11/Xlib/Extras.hi
> > /home/allbery/.cabal/store/ghc-8.10.7/X11-1.10.2-51ef4d013f330f5be1e8a5d19945343c852b766a6f813a3c0438c6fcdaba2841/lib/Graphics/X11/Xlib/Extras.hi
> > /home/allbery/.cabal/store/ghc-8.10.7/X11-1.10.2.9-7565c9e6871f4243d4e89b54993751ade882b250ce064e172d329fd884dd32d3/lib/Graphics/X11/Xlib/Extras.hi
> > /home/allbery/.cabal/store/ghc-8.10.7/X11-1.10.2.9-730539e0b46dc72d3f52718cf04a36f984ba9cb988117220aa282599bc8a6abc/lib/Graphics/X11/Xlib/Extras.hi
> > /home/allbery/.cabal/store/ghc-8.10.7/X11-1.10.2.9-577b3d4e117384080880e68be27732dd85d4c0399d0b260a9c5a8d999ecc6806/lib/Graphics/X11/Xlib/Extras.hi
> > /home/allbery/.cabal/store/ghc-9.2.2/X11-1.10.2.9-d6e615d734969eea23b9b836ae6441d0a8d5e3a2ad75af251c2c89819bd0531d/lib/Graphics/X11/Xlib/Extras.hi
> > /home/allbery/.cabal/store/ghc-9.2.2/X11-1.10.2.9-e8ea472991b2b2a1778e8d4c9fb993b205acd758b9c95cf6ca1a13ecde55e0d6/lib/Graphics/X11/Xlib/Extras.hi
> > ```
> >
> > (The `grep X11` is to exclude packages like `lens` that have their own
> > `….Extras` modules.)
>
>


-- 
brandon s allbery kf8nh
allbery.b at gmail.com


More information about the xmonad mailing list