From oneself at gmail.com Sun Jul 3 03:07:28 2022 From: oneself at gmail.com (Eyal Erez) Date: Sun, 3 Jul 2022 06:07:28 +0300 Subject: [xmonad] xmonad packages broken in Debian Message-ID: Does anyone know why the xmonad packages seem to be broken in Debian? https://release.debian.org/transitions/html/haskell.html When I try to install libghc-xmonad-dev and/or libghc-xmonad-contrib-dev, I get an error: The following packages have unmet dependencies: libghc-xmonad-dev : Depends: libghc-x11-dev-1.9.1-11a5c Depends: libghc-base-dev-4.13.0.0-2f220 but it is not installable Depends: libghc-containers-dev-0.6.2.1-ab1cf but it is not installable Depends: libghc-data-default-dev-0.7.1.1-958e3 Depends: libghc-directory-dev-1.3.6.0-49fdf but it is not installable Depends: libghc-extensible-exceptions-dev-0.1.1.4-10872 but it is not installable Depends: libghc-filepath-dev-1.4.2.1-103b6 but it is not installable Depends: libghc-mtl-dev-2.2.2-7208c but it is not installable Depends: libghc-process-dev-1.6.9.0-88a89 but it is not installable Depends: libghc-setlocale-dev-1.0.0.9-a89d6 but it is not installable Depends: libghc-unix-dev-2.7.2.2-bb33f but it is not installable Depends: libghc-utf8-string-dev-1.0.1.1-866d7 but it is not installable Recommends: libghc-xmonad-contrib-dev but it is not going to be installed When I tried to enquire in the distros forums (which is a Debian variant) they indicated that the problem is upstream. Does anyone know what the issue is? Which distro to folks use with xmonad? Where is it best supported? -- *Eyal Erez <**oneself at gmail.com* *>* There are 10 types of people, those who know binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From platon7pronko at gmail.com Sun Jul 3 04:04:47 2022 From: platon7pronko at gmail.com (Platon Pronko) Date: Sun, 3 Jul 2022 07:04:47 +0300 Subject: [xmonad] xmonad packages broken in Debian In-Reply-To: References: Message-ID: <30b05d46-5fcd-facd-db84-2b1138478d7b@gmail.com> Hi! What distro do you use? Xmonad runs fine on quite a wide variety of distributions. From the error log it seems that the problem is not in xmonad itself, but rather in the set of packages being installed. > When I tried to enquire in the distros forums (which is a Debian variant) > they indicated that the problem is upstream. Can you give a link to this forum discussion? -- Best regards, Platon Pronko PGP 2A62D77A7A2CB94E On 2022-07-03 06:07, Eyal Erez wrote: > Does anyone know why the xmonad packages seem to be broken in Debian? > > https://release.debian.org/transitions/html/haskell.html > > When I try to install libghc-xmonad-dev and/or libghc-xmonad-contrib-dev, I > get an error: > > The following packages have unmet dependencies: > libghc-xmonad-dev : Depends: libghc-x11-dev-1.9.1-11a5c > Depends: libghc-base-dev-4.13.0.0-2f220 but it is not > installable > Depends: libghc-containers-dev-0.6.2.1-ab1cf but it is > not installable > Depends: libghc-data-default-dev-0.7.1.1-958e3 > Depends: libghc-directory-dev-1.3.6.0-49fdf but it is > not installable > Depends: > libghc-extensible-exceptions-dev-0.1.1.4-10872 but it is not installable > Depends: libghc-filepath-dev-1.4.2.1-103b6 but it is > not installable > Depends: libghc-mtl-dev-2.2.2-7208c but it is not > installable > Depends: libghc-process-dev-1.6.9.0-88a89 but it is > not installable > Depends: libghc-setlocale-dev-1.0.0.9-a89d6 but it is > not installable > Depends: libghc-unix-dev-2.7.2.2-bb33f but it is not > installable > Depends: libghc-utf8-string-dev-1.0.1.1-866d7 but it > is not installable > Recommends: libghc-xmonad-contrib-dev but it is not > going to be installed > > When I tried to enquire in the distros forums (which is a Debian variant) > they indicated that the problem is upstream. Does anyone know what the > issue is? Which distro to folks use with xmonad? Where is it best > supported? > > > > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad From tomi at nomi.cz Sun Jul 3 09:51:14 2022 From: tomi at nomi.cz (Tomas Janousek) Date: Sun, 3 Jul 2022 10:51:14 +0100 Subject: [xmonad] xmonad packages broken in Debian In-Reply-To: References: Message-ID: Hi, On Sun, Jul 03, 2022 at 06:07:28AM +0300, Eyal Erez wrote: >Does anyone know why the xmonad packages seem to be broken in Debian? xmonad packaging in Debian is, to the best of my knowledge, unmaintained. (I made repeated failed attempts to contact the maintainers over the last years…) >When I tried to enquire in the distros forums (which is a Debian variant) >they indicated that the problem is upstream. Does anyone know what the >issue is? Which distro to folks use with xmonad? Where is it best >supported? I wonder how exactly could an unmaintained Debian package failing to install on an unspecified Debian derivative be our fault… If anyone makes such claims, they better explain their reasoning. -- Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From asjo at koldfront.dk Sun Jul 3 10:00:14 2022 From: asjo at koldfront.dk (=?utf-8?Q?Adam_Sj=C3=B8gren?=) Date: Sun, 03 Jul 2022 12:00:14 +0200 Subject: [xmonad] xmonad packages broken in Debian References: Message-ID: <87mtdqfrdd.fsf@tullinup.koldfront.dk> Tomas writes: >>When I tried to enquire in the distros forums (which is a Debian variant) >>they indicated that the problem is upstream. Does anyone know what the >>issue is? Which distro to folks use with xmonad? Where is it best >>supported? > I wonder how exactly could an unmaintained Debian package failing to > install on an unspecified Debian derivative be our fault… If anyone > makes such claims, they better explain their reasoning. Perhaps the people on the forum meant "Debian" by upstream, rather than xmonad itself? I use xmonad on Debian 11 bullseye (stable), Ubuntu 18.04 (bionic) and Ubuntu 20.04 (focal) without dependency problems. Maybe, Eyal, you could reveal what distribution you have problems on? Best regards, Adam -- "Shout up!" Adam Sjøgren asjo at koldfront.dk From allbery.b at gmail.com Sun Jul 3 12:14:10 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Sun, 3 Jul 2022 08:14:10 -0400 Subject: [xmonad] xmonad packages broken in Debian In-Reply-To: References: Message-ID: They said "upstream", not specifically us, and I'd imagine if their base package is uninstallable they've got problems with GHC itself. That said, I wonder why the package is available at all if it's uninstallable. Could you link us to the discussion you mentioned? On Sun, Jul 3, 2022 at 5:51 AM Tomas Janousek wrote: > > Hi, > > On Sun, Jul 03, 2022 at 06:07:28AM +0300, Eyal Erez wrote: > > Does anyone know why the xmonad packages seem to be broken in Debian? > > xmonad packaging in Debian is, to the best of my knowledge, unmaintained. > (I made repeated failed attempts to contact the maintainers over the last years…) > > When I tried to enquire in the distros forums (which is a Debian variant) > they indicated that the problem is upstream. Does anyone know what the > issue is? Which distro to folks use with xmonad? Where is it best > supported? > > I wonder how exactly could an unmaintained Debian package failing to install on an unspecified Debian derivative be our fault… If anyone makes such claims, they better explain their reasoning. > > -- > > Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/ > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -- brandon s allbery kf8nh allbery.b at gmail.com From oneself at gmail.com Mon Jul 4 02:59:22 2022 From: oneself at gmail.com (Eyal Erez) Date: Mon, 4 Jul 2022 05:59:22 +0300 Subject: [xmonad] xmonad packages broken in Debian In-Reply-To: References: Message-ID: Here is the discussion: https://forum.siduction.org/index.php?topic=7402 I am very close to switching distro at this point. I am wondering which distros supports xmonad well? On Sun, Jul 3, 2022 at 3:14 PM Brandon Allbery wrote: > They said "upstream", not specifically us, and I'd imagine if their > base package is uninstallable they've got problems with GHC itself. > That said, I wonder why the package is available at all if it's > uninstallable. Could you link us to the discussion you mentioned? > > On Sun, Jul 3, 2022 at 5:51 AM Tomas Janousek wrote: > > > > Hi, > > > > On Sun, Jul 03, 2022 at 06:07:28AM +0300, Eyal Erez wrote: > > > > Does anyone know why the xmonad packages seem to be broken in Debian? > > > > xmonad packaging in Debian is, to the best of my knowledge, unmaintained. > > (I made repeated failed attempts to contact the maintainers over the > last years…) > > > > When I tried to enquire in the distros forums (which is a Debian variant) > > they indicated that the problem is upstream. Does anyone know what the > > issue is? Which distro to folks use with xmonad? Where is it best > > supported? > > > > I wonder how exactly could an unmaintained Debian package failing to > install on an unspecified Debian derivative be our fault… If anyone makes > such claims, they better explain their reasoning. > > > > -- > > > > Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/ > > > > _______________________________________________ > > xmonad mailing list > > xmonad at haskell.org > > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > > > > -- > brandon s allbery kf8nh > allbery.b at gmail.com > -- *Eyal Erez <**oneself at gmail.com* *>* There are 10 types of people, those who know binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From oneself at gmail.com Mon Jul 4 03:01:12 2022 From: oneself at gmail.com (Eyal Erez) Date: Mon, 4 Jul 2022 06:01:12 +0300 Subject: [xmonad] xmonad packages broken in Debian In-Reply-To: <87mtdqfrdd.fsf@tullinup.koldfront.dk> References: <87mtdqfrdd.fsf@tullinup.koldfront.dk> Message-ID: I use a distribution called "Siduction" (linked above). It's a rolling release distro based on the Debian sid branch. On Sun, Jul 3, 2022 at 1:00 PM Adam Sjøgren wrote: > Tomas writes: > > >>When I tried to enquire in the distros forums (which is a Debian variant) > >>they indicated that the problem is upstream. Does anyone know what the > >>issue is? Which distro to folks use with xmonad? Where is it best > >>supported? > > > I wonder how exactly could an unmaintained Debian package failing to > > install on an unspecified Debian derivative be our fault… If anyone > > makes such claims, they better explain their reasoning. > > Perhaps the people on the forum meant "Debian" by upstream, rather than > xmonad itself? > > I use xmonad on Debian 11 bullseye (stable), Ubuntu 18.04 (bionic) and > Ubuntu 20.04 (focal) without dependency problems. > > Maybe, Eyal, you could reveal what distribution you have problems on? > > > Best regards, > > Adam > > -- > "Shout up!" Adam Sjøgren > asjo at koldfront.dk > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -- *Eyal Erez <**oneself at gmail.com* *>* There are 10 types of people, those who know binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From asjo at koldfront.dk Mon Jul 4 10:59:11 2022 From: asjo at koldfront.dk (=?utf-8?Q?Adam_Sj=C3=B8gren?=) Date: Mon, 04 Jul 2022 12:59:11 +0200 Subject: [xmonad] xmonad packages broken in Debian References: <87mtdqfrdd.fsf@tullinup.koldfront.dk> Message-ID: <87y1x987pc.fsf@tullinup.koldfront.dk> Eyal writes: > I use a distribution called "Siduction" (linked above). It's a rolling > release distro based on the Debian sid branch. The problem is probably due to a transition to a newer GHC/updating libraries in Debian unstable, then. There is a Haskell group mailing list in Debian you can follow for the current status, more information here: · https://wiki.debian.org/Teams/DebianHaskellGroup Packages being broken once in a while is the nature of Debian unstable. Best regards, Adam -- "I'm a driver, I'm a winner, things are gonna Adam Sjøgren change, I can feel it." asjo at koldfront.dk From info at mito-space.com Mon Jul 4 12:25:56 2022 From: info at mito-space.com (Michael Topp) Date: Mon, 4 Jul 2022 14:25:56 +0200 Subject: [xmonad] Fwd: Re: xmonad packages broken in Debian In-Reply-To: References: Message-ID: <739f6b77-8eeb-7843-f01b-0ca4ce5a528c@mito-space.com> -------- Weitergeleitete Nachricht -------- Betreff: Re: [xmonad] xmonad packages broken in Debian Datum: Mon, 4 Jul 2022 12:33:38 +0200 Von: Michael Topp An: Eyal Erez Hi, if you're asking what distro maintains xmonad packages (the best), I count on Arch. They update all official 'xmonad' packages frequently, because their haskell packages themselves also are updated quite often (could be once, twice a week). – Alternatively you can make your own local xmonad build, independent from the distro. And sure, you also have to decide which compiler to use. I highly recommend consulting the wikis from both Arch Linux and Xmonad. HTH Am 03.07.22 um 05:07 schrieb Eyal Erez: > Does anyone know why the xmonad packages seem to be broken in Debian? > > https://release.debian.org/transitions/html/haskell.html > > When I try to install libghc-xmonad-dev > and/or libghc-xmonad-contrib-dev, I get an error: > > The following packages have unmet dependencies: >  libghc-xmonad-dev : Depends: libghc-x11-dev-1.9.1-11a5c >                      Depends: libghc-base-dev-4.13.0.0-2f220 but it is > not installable >                      Depends: libghc-containers-dev-0.6.2.1-ab1cf but > it is not installable >                      Depends: libghc-data-default-dev-0.7.1.1-958e3 >                      Depends: libghc-directory-dev-1.3.6.0-49fdf but > it is not installable >                      Depends: > libghc-extensible-exceptions-dev-0.1.1.4-10872 but it is not installable >                      Depends: libghc-filepath-dev-1.4.2.1-103b6 but it > is not installable >                      Depends: libghc-mtl-dev-2.2.2-7208c but it is not > installable >                      Depends: libghc-process-dev-1.6.9.0-88a89 but it > is not installable >                      Depends: libghc-setlocale-dev-1.0.0.9-a89d6 but > it is not installable >                      Depends: libghc-unix-dev-2.7.2.2-bb33f but it is > not installable >                      Depends: libghc-utf8-string-dev-1.0.1.1-866d7 but > it is not installable >                      Recommends: libghc-xmonad-contrib-dev but it is > not going to be installed > > When I tried to enquire in the distros forums (which is a Debian > variant) they indicated that the problem is upstream. Does anyone know > what the issue is? Which distro to folks use with xmonad?  Where is it > best supported? > > > > -- > *Eyal Erez <**oneself at gmail.com* *>* > > There are 10 types of people, those who know binary and those who don't. > > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -------------- next part -------------- An HTML attachment was scrubbed... URL: From yecine.megdiche at gmail.com Mon Jul 4 12:32:41 2022 From: yecine.megdiche at gmail.com (Yecine Megdiche) Date: Mon, 4 Jul 2022 14:32:41 +0200 Subject: [xmonad] Fwd: Re: xmonad packages broken in Debian In-Reply-To: <739f6b77-8eeb-7843-f01b-0ca4ce5a528c@mito-space.com> References: <739f6b77-8eeb-7843-f01b-0ca4ce5a528c@mito-space.com> Message-ID: Hi, I wouldn't say so... You can check the official xmonad package for arch, it's still on 0.15. https://archlinux.org/packages/community/x86_64/xmonad/ Cheers On Mon, 4 Jul 2022, 14:26 Michael Topp, wrote: > -------- Weitergeleitete Nachricht -------- > Betreff: Re: [xmonad] xmonad packages broken in Debian > Datum: Mon, 4 Jul 2022 12:33:38 +0200 > Von: Michael Topp > An: Eyal Erez > > Hi, > > if you're asking what distro maintains xmonad packages (the best), I count > on Arch. > > They update all official 'xmonad' packages frequently, because their > haskell packages themselves also are updated quite often (could be once, > twice a week). – Alternatively you can make your own local xmonad build, > independent from the distro. And sure, you also have to decide which > compiler to use. I highly recommend consulting the wikis from both Arch > Linux and Xmonad. > > HTH > > > Am 03.07.22 um 05:07 schrieb Eyal Erez: > > Does anyone know why the xmonad packages seem to be broken in Debian? > > https://release.debian.org/transitions/html/haskell.html > > When I try to install libghc-xmonad-dev and/or libghc-xmonad-contrib-dev, > I get an error: > > The following packages have unmet dependencies: > libghc-xmonad-dev : Depends: libghc-x11-dev-1.9.1-11a5c > Depends: libghc-base-dev-4.13.0.0-2f220 but it is not > installable > Depends: libghc-containers-dev-0.6.2.1-ab1cf but it > is not installable > Depends: libghc-data-default-dev-0.7.1.1-958e3 > Depends: libghc-directory-dev-1.3.6.0-49fdf but it is > not installable > Depends: > libghc-extensible-exceptions-dev-0.1.1.4-10872 but it is not installable > Depends: libghc-filepath-dev-1.4.2.1-103b6 but it is > not installable > Depends: libghc-mtl-dev-2.2.2-7208c but it is not > installable > Depends: libghc-process-dev-1.6.9.0-88a89 but it is > not installable > Depends: libghc-setlocale-dev-1.0.0.9-a89d6 but it is > not installable > Depends: libghc-unix-dev-2.7.2.2-bb33f but it is not > installable > Depends: libghc-utf8-string-dev-1.0.1.1-866d7 but it > is not installable > Recommends: libghc-xmonad-contrib-dev but it is not > going to be installed > > When I tried to enquire in the distros forums (which is a Debian variant) > they indicated that the problem is upstream. Does anyone know what the > issue is? Which distro to folks use with xmonad? Where is it best > supported? > > > > -- > *Eyal Erez <**oneself at gmail.com* *>* > > There are 10 types of people, those who know binary and those who don't. > > > _______________________________________________ > xmonad mailing listxmonad at haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -------------- next part -------------- An HTML attachment was scrubbed... URL: From soliditsallgood at mailbox.org Mon Jul 4 12:43:31 2022 From: soliditsallgood at mailbox.org (Tony Zorman) Date: Mon, 04 Jul 2022 14:43:31 +0200 Subject: [xmonad] Fwd: Re: xmonad packages broken in Debian In-Reply-To: <739f6b77-8eeb-7843-f01b-0ca4ce5a528c@mito-space.com> References: <739f6b77-8eeb-7843-f01b-0ca4ce5a528c@mito-space.com> Message-ID: <87zghpqc98.fsf@hyperspace> On Mon, Jul 04 2022 14:25, Michael Topp wrote: > if you're asking what distro maintains xmonad packages (the best), I > count on Arch. On the contrary, I think Arch is probably one of the worst options around when talking about using XMonad via distro packages! > They update all official 'xmonad' packages frequently, because their > haskell packages themselves also are updated quite often (could be once, > twice a week). XMonad on Arch is still stuck on 0.15 (0.16 for contrib); the new release (0.17.0) has been out for almost a year by now! The reason Haskell packages on Arch update so frequently is because they are rebuilding all of the dependencies of a package when they update it. This could be a random library anywhere in the dependency tree—probably not an update to xmonad or xmonad-contrib itself. The reason for this is that Arch links Haskell binaries dynamically instead of statically (which is the default on pretty much any other distro; for obvious reasons, I think). One of the side effects of this is that people have to recompile their configs with every bump. If they forget to do that then they could get sent straight back to the TTY when logging in. Seemingly, sometimes people also forget to bump some dependencies, leading to lots of broken xmobar's etc. Not a fun experience. > Alternatively you can make your own local xmonad build, independent > from the distro. And sure, you also have to decide which compiler to > use. I highly recommend consulting the wikis from both Arch Linux and > Xmonad. If you use [our build instructions], then stack will pick which version of GHC to use; you don't need to think about it. It's also much more up-to-date than both wikis. I don't think the distribution matters much when using stack (or even nix), but then we're also not talking about distro packages anymore. Tony [our build instructions]: https://xmonad.org/INSTALL.html -- Tony Zorman | https://tony-zorman.com/ From info at mito-space.com Mon Jul 4 13:36:33 2022 From: info at mito-space.com (Michael Topp) Date: Mon, 4 Jul 2022 15:36:33 +0200 Subject: [xmonad] Fwd: Re: xmonad packages broken in Debian In-Reply-To: References: <739f6b77-8eeb-7843-f01b-0ca4ce5a528c@mito-space.com> Message-ID: <6316d994-fc5a-bf8a-5c5d-ed1dec1fb05a@mito-space.com> -- Yeah, yet they update nonetheless, so you will have a working xmonad, even it's not 'bleeding edge' (but IMHO it's close enough to that). If you want a kind of 'nightly build' or the very latest features at any cost, then better go make a local install yourself via cabal or stack or whatever (see the wikis), and have some extra fun with additional configuration of the compiler and the installer. ;-) I personally don't bother about that anymore and just want a stable xmonad along with my system packages and additional haskell apps like pandoc etc., and I am fine with that. I don't mind if it's 0.15, 0.16, or 0.17 for my everyday usage, as long as it's stable and save updating. Haskell stuff versions change very often, you know, and xmonad is just a small part of it, right? Maintaining these for Linux repos must be hell (e.g. the fork Arch32 gave up on that)! I just don't need to build xmonad stuff from the e.g. AUR or locally with cabal myself anymore – sure, these always worked for some time, but then broke with the next manual update, because one tiny haskell package didn't match because of a missing version or others deps were missing. – So, in other words: you'd learn to stay with your local, non-OS conform haskell/xmonad/... install for longer anyway; and you /will/ very soon get 'outdated' then. – But unless you are a haskell developer yourself, permanently wanting to have a newest xmonad is /not/ worth the pain! However, it's your choice. Besides, I doubt, there is any Linux distro at all with a priority on providing the latest xmonad, though it in deed is IMHO the greatest tiling WM in X. Regards Am 04.07.22 um 14:32 schrieb Yecine Megdiche: > Hi, > > I wouldn't say so... You can check the official xmonad package for > arch, it's still on 0.15. > https://archlinux.org/packages/community/x86_64/xmonad/ > > Cheers > > On Mon, 4 Jul 2022, 14:26 Michael Topp, > wrote: > > -------- Weitergeleitete Nachricht -------- > Betreff: Re: [xmonad] xmonad packages broken in Debian > Datum: Mon, 4 Jul 2022 12:33:38 +0200 > Von: Michael Topp > An: Eyal Erez > > > > Hi, > > if you're asking what distro maintains xmonad packages (the best), > I count on Arch. > > They update all official 'xmonad' packages frequently, because > their haskell packages themselves also are updated quite often > (could be once, twice a week). – Alternatively you can make your > own local xmonad build, independent from the distro. And sure, you > also have to decide which compiler to use. I highly recommend > consulting the wikis from both Arch Linux and Xmonad. > > HTH > > > Am 03.07.22 um 05:07 schrieb Eyal Erez: >> Does anyone know why the xmonad packages seem to be broken in Debian? >> >> https://release.debian.org/transitions/html/haskell.html >> >> When I try to install libghc-xmonad-dev >> and/or libghc-xmonad-contrib-dev, I get an error: >> >> The following packages have unmet dependencies: >>  libghc-xmonad-dev : Depends: libghc-x11-dev-1.9.1-11a5c >>                      Depends: libghc-base-dev-4.13.0.0-2f220 but >> it is not installable >>                      Depends: libghc-containers-dev-0.6.2.1-ab1cf >> but it is not installable >>                      Depends: libghc-data-default-dev-0.7.1.1-958e3 >>                      Depends: libghc-directory-dev-1.3.6.0-49fdf >> but it is not installable >>                      Depends: >> libghc-extensible-exceptions-dev-0.1.1.4-10872 but it is not >> installable >>                      Depends: libghc-filepath-dev-1.4.2.1-103b6 >> but it is not installable >>                      Depends: libghc-mtl-dev-2.2.2-7208c but it >> is not installable >>                      Depends: libghc-process-dev-1.6.9.0-88a89 >> but it is not installable >>                      Depends: libghc-setlocale-dev-1.0.0.9-a89d6 >> but it is not installable >>                      Depends: libghc-unix-dev-2.7.2.2-bb33f but >> it is not installable >>                      Depends: >> libghc-utf8-string-dev-1.0.1.1-866d7 but it is not installable >>                      Recommends: libghc-xmonad-contrib-dev but it >> is not going to be installed >> >> When I tried to enquire in the distros forums (which is a Debian >> variant) they indicated that the problem is upstream. Does anyone >> know what the issue is? Which distro to folks use with xmonad? >> Where is it best supported? >> >> >> >> -- >> *Eyal Erez <**oneself at gmail.com* *>* >> >> There are 10 types of people, those who know binary and those who >> don't. >> >> >> _______________________________________________ >> xmonad mailing list >> xmonad at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominik.schrempf at gmail.com Mon Jul 4 13:43:50 2022 From: dominik.schrempf at gmail.com (Dominik Schrempf) Date: Mon, 4 Jul 2022 15:43:50 +0200 Subject: [xmonad] Fwd: Re: xmonad packages broken in Debian In-Reply-To: <6316d994-fc5a-bf8a-5c5d-ed1dec1fb05a@mito-space.com> References: <739f6b77-8eeb-7843-f01b-0ca4ce5a528c@mito-space.com> <6316d994-fc5a-bf8a-5c5d-ed1dec1fb05a@mito-space.com> Message-ID: Because I got interested: Have a look at repology https://repology.org/project/xmonad/versions. Most distributions are out of date. I think this is because GHC 9 introduced a lot of breakage, and going from GHC 8 to 9 is causing these delays. Personally, I really like Arch, and used XMonad on it for many years. Now, I am using NixOS, and that works even better for me. On Mon, Jul 4, 2022 at 3:36 PM Michael Topp wrote: > -- Yeah, yet they update nonetheless, so you will have a working xmonad, > even it's not 'bleeding edge' (but IMHO it's close enough to that). > > If you want a kind of 'nightly build' or the very latest features at any > cost, then better go make a local install yourself via cabal or stack or > whatever (see the wikis), and have some extra fun with additional > configuration of the compiler and the installer. ;-) > > I personally don't bother about that anymore and just want a stable xmonad > along with my system packages and additional haskell apps like pandoc etc., > and I am fine with that. I don't mind if it's 0.15, 0.16, or 0.17 for my > everyday usage, as long as it's stable and save updating. Haskell stuff > versions change very often, you know, and xmonad is just a small part of > it, right? Maintaining these for Linux repos must be hell (e.g. the fork > Arch32 gave up on that)! > > I just don't need to build xmonad stuff from the e.g. AUR or locally with > cabal myself anymore – sure, these always worked for some time, but then > broke with the next manual update, because one tiny haskell package didn't > match because of a missing version or others deps were missing. – So, in > other words: you'd learn to stay with your local, non-OS conform > haskell/xmonad/... install for longer anyway; and you *will* very soon > get 'outdated' then. – But unless you are a haskell developer yourself, > permanently wanting to have a newest xmonad is *not* worth the pain! > > However, it's your choice. > Besides, I doubt, there is any Linux distro at all with a priority on > providing the latest xmonad, though it in deed is IMHO the greatest tiling > WM in X. > > Regards > > > Am 04.07.22 um 14:32 schrieb Yecine Megdiche: > > Hi, > > I wouldn't say so... You can check the official xmonad package for arch, > it's still on 0.15. > https://archlinux.org/packages/community/x86_64/xmonad/ > > Cheers > > On Mon, 4 Jul 2022, 14:26 Michael Topp, wrote: > >> -------- Weitergeleitete Nachricht -------- >> Betreff: Re: [xmonad] xmonad packages broken in Debian >> Datum: Mon, 4 Jul 2022 12:33:38 +0200 >> Von: Michael Topp >> An: Eyal Erez >> >> Hi, >> >> if you're asking what distro maintains xmonad packages (the best), I >> count on Arch. >> >> They update all official 'xmonad' packages frequently, because their >> haskell packages themselves also are updated quite often (could be once, >> twice a week). – Alternatively you can make your own local xmonad build, >> independent from the distro. And sure, you also have to decide which >> compiler to use. I highly recommend consulting the wikis from both Arch >> Linux and Xmonad. >> >> HTH >> >> >> Am 03.07.22 um 05:07 schrieb Eyal Erez: >> >> Does anyone know why the xmonad packages seem to be broken in Debian? >> >> https://release.debian.org/transitions/html/haskell.html >> >> When I try to install libghc-xmonad-dev and/or libghc-xmonad-contrib-dev, >> I get an error: >> >> The following packages have unmet dependencies: >> libghc-xmonad-dev : Depends: libghc-x11-dev-1.9.1-11a5c >> Depends: libghc-base-dev-4.13.0.0-2f220 but it is >> not installable >> Depends: libghc-containers-dev-0.6.2.1-ab1cf but it >> is not installable >> Depends: libghc-data-default-dev-0.7.1.1-958e3 >> Depends: libghc-directory-dev-1.3.6.0-49fdf but it >> is not installable >> Depends: >> libghc-extensible-exceptions-dev-0.1.1.4-10872 but it is not installable >> Depends: libghc-filepath-dev-1.4.2.1-103b6 but it is >> not installable >> Depends: libghc-mtl-dev-2.2.2-7208c but it is not >> installable >> Depends: libghc-process-dev-1.6.9.0-88a89 but it is >> not installable >> Depends: libghc-setlocale-dev-1.0.0.9-a89d6 but it >> is not installable >> Depends: libghc-unix-dev-2.7.2.2-bb33f but it is not >> installable >> Depends: libghc-utf8-string-dev-1.0.1.1-866d7 but it >> is not installable >> Recommends: libghc-xmonad-contrib-dev but it is not >> going to be installed >> >> When I tried to enquire in the distros forums (which is a Debian variant) >> they indicated that the problem is upstream. Does anyone know what the >> issue is? Which distro to folks use with xmonad? Where is it best >> supported? >> >> >> >> -- >> *Eyal Erez <**oneself at gmail.com* *>* >> >> There are 10 types of people, those who know binary and those who don't. >> >> >> _______________________________________________ >> xmonad mailing listxmonad at haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad >> >> >> _______________________________________________ >> xmonad mailing list >> xmonad at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad >> > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -------------- next part -------------- An HTML attachment was scrubbed... URL: From allbery.b at gmail.com Mon Jul 4 13:57:22 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Mon, 4 Jul 2022 09:57:22 -0400 Subject: [xmonad] Fwd: Re: xmonad packages broken in Debian In-Reply-To: References: <739f6b77-8eeb-7843-f01b-0ca4ce5a528c@mito-space.com> <6316d994-fc5a-bf8a-5c5d-ed1dec1fb05a@mito-space.com> Message-ID: xmonad 0.17.0 works fine with ghc 8.10.7, which is still the recommended version. (ghc 9.4 is intended to be a stability / bugfix release, including some changes that should ameliorate much of the breakage.) On Mon, Jul 4, 2022 at 9:44 AM Dominik Schrempf wrote: > Because I got interested: Have a look at repology > https://repology.org/project/xmonad/versions. Most distributions are out > of date. > > I think this is because GHC 9 introduced a lot of breakage, and going from > GHC 8 to 9 is causing these delays. > > Personally, I really like Arch, and used XMonad on it for many years. Now, > I am using NixOS, and that works even better for me. > > On Mon, Jul 4, 2022 at 3:36 PM Michael Topp wrote: > >> -- Yeah, yet they update nonetheless, so you will have a working xmonad, >> even it's not 'bleeding edge' (but IMHO it's close enough to that). >> >> If you want a kind of 'nightly build' or the very latest features at any >> cost, then better go make a local install yourself via cabal or stack or >> whatever (see the wikis), and have some extra fun with additional >> configuration of the compiler and the installer. ;-) >> >> I personally don't bother about that anymore and just want a stable >> xmonad along with my system packages and additional haskell apps like >> pandoc etc., and I am fine with that. I don't mind if it's 0.15, 0.16, or >> 0.17 for my everyday usage, as long as it's stable and save updating. >> Haskell stuff versions change very often, you know, and xmonad is just a >> small part of it, right? Maintaining these for Linux repos must be hell >> (e.g. the fork Arch32 gave up on that)! >> >> I just don't need to build xmonad stuff from the e.g. AUR or locally with >> cabal myself anymore – sure, these always worked for some time, but then >> broke with the next manual update, because one tiny haskell package didn't >> match because of a missing version or others deps were missing. – So, in >> other words: you'd learn to stay with your local, non-OS conform >> haskell/xmonad/... install for longer anyway; and you *will* very soon >> get 'outdated' then. – But unless you are a haskell developer yourself, >> permanently wanting to have a newest xmonad is *not* worth the pain! >> >> However, it's your choice. >> Besides, I doubt, there is any Linux distro at all with a priority on >> providing the latest xmonad, though it in deed is IMHO the greatest tiling >> WM in X. >> >> Regards >> >> >> Am 04.07.22 um 14:32 schrieb Yecine Megdiche: >> >> Hi, >> >> I wouldn't say so... You can check the official xmonad package for arch, >> it's still on 0.15. >> https://archlinux.org/packages/community/x86_64/xmonad/ >> >> Cheers >> >> On Mon, 4 Jul 2022, 14:26 Michael Topp, wrote: >> >>> -------- Weitergeleitete Nachricht -------- >>> Betreff: Re: [xmonad] xmonad packages broken in Debian >>> Datum: Mon, 4 Jul 2022 12:33:38 +0200 >>> Von: Michael Topp >>> An: Eyal Erez >>> >>> Hi, >>> >>> if you're asking what distro maintains xmonad packages (the best), I >>> count on Arch. >>> >>> They update all official 'xmonad' packages frequently, because their >>> haskell packages themselves also are updated quite often (could be once, >>> twice a week). – Alternatively you can make your own local xmonad build, >>> independent from the distro. And sure, you also have to decide which >>> compiler to use. I highly recommend consulting the wikis from both Arch >>> Linux and Xmonad. >>> >>> HTH >>> >>> >>> Am 03.07.22 um 05:07 schrieb Eyal Erez: >>> >>> Does anyone know why the xmonad packages seem to be broken in Debian? >>> >>> https://release.debian.org/transitions/html/haskell.html >>> >>> When I try to install libghc-xmonad-dev >>> and/or libghc-xmonad-contrib-dev, I get an error: >>> >>> The following packages have unmet dependencies: >>> libghc-xmonad-dev : Depends: libghc-x11-dev-1.9.1-11a5c >>> Depends: libghc-base-dev-4.13.0.0-2f220 but it is >>> not installable >>> Depends: libghc-containers-dev-0.6.2.1-ab1cf but it >>> is not installable >>> Depends: libghc-data-default-dev-0.7.1.1-958e3 >>> Depends: libghc-directory-dev-1.3.6.0-49fdf but it >>> is not installable >>> Depends: >>> libghc-extensible-exceptions-dev-0.1.1.4-10872 but it is not installable >>> Depends: libghc-filepath-dev-1.4.2.1-103b6 but it >>> is not installable >>> Depends: libghc-mtl-dev-2.2.2-7208c but it is not >>> installable >>> Depends: libghc-process-dev-1.6.9.0-88a89 but it is >>> not installable >>> Depends: libghc-setlocale-dev-1.0.0.9-a89d6 but it >>> is not installable >>> Depends: libghc-unix-dev-2.7.2.2-bb33f but it is >>> not installable >>> Depends: libghc-utf8-string-dev-1.0.1.1-866d7 but >>> it is not installable >>> Recommends: libghc-xmonad-contrib-dev but it is not >>> going to be installed >>> >>> When I tried to enquire in the distros forums (which is a Debian >>> variant) they indicated that the problem is upstream. Does anyone know what >>> the issue is? Which distro to folks use with xmonad? Where is it best >>> supported? >>> >>> >>> >>> -- >>> *Eyal Erez <**oneself at gmail.com* *>* >>> >>> There are 10 types of people, those who know binary and those who don't. >>> >>> >>> _______________________________________________ >>> xmonad mailing listxmonad at haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad >>> >>> >>> _______________________________________________ >>> xmonad mailing list >>> xmonad at haskell.org >>> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad >>> >> >> _______________________________________________ >> xmonad mailing list >> xmonad at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad >> > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -- brandon s allbery kf8nh allbery.b at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From linuxham at wowway.com Tue Jul 5 16:44:01 2022 From: linuxham at wowway.com (linuxham) Date: Tue, 5 Jul 2022 12:44:01 -0400 Subject: [xmonad] view workspaces in Xmobar Message-ID: <8d4cc7e8-5ed4-8895-638b-fa9e6e50cd89@wowway.com> Hello, I am new to configuring Xmonad, and am trying to get Xmobar to show workspaces. I am using the Xmonad.hs from here: https://xmonad.org/TUTORIAL.html And my Xmobarrc is attached. I am running Endeavor OS, with xmonad-git-0.17, and xmonad-contrib-git-0.17, and xmobar-get-0.36 When I boot into Xmonad, the Xmobar says "Updating", but doesn't show anything! Thanks Ed PS I read all of April, but didn't catch the fix! -------------- next part -------------- Config { font = "xft:Dina:pixelsize=13" , bgColor = "black" , fgColor = "grey" , position = TopW L 100 , lowerOnStart = True , commands = [ Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10 , Run Memory ["-t","Mem: %"] 10 , Run Swap [] 10 , Run Date "%a %b %_d %H:%M" "date" 10 , Run UnsafeStdinReader ] , sepChar = "%" , alignSep = "}{" , template = "%UnsafeStdinReader% }{ %cpu% | %memory% * %swap% %date%" } From allbery.b at gmail.com Tue Jul 5 17:15:15 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Tue, 5 Jul 2022 13:15:15 -0400 Subject: [xmonad] view workspaces in Xmobar In-Reply-To: <8d4cc7e8-5ed4-8895-638b-fa9e6e50cd89@wowway.com> References: <8d4cc7e8-5ed4-8895-638b-fa9e6e50cd89@wowway.com> Message-ID: If you're using xmonad 0.17 with its recommended configuration, you probably want to use UnsafeXMonadLog instead of UnsafeStdinReader in your xmobarrc. On Tue, Jul 5, 2022 at 12:44 PM linuxham wrote: > > Hello, I am new to configuring Xmonad, and am trying to get Xmobar to > show workspaces. I am using the Xmonad.hs from here: > > https://xmonad.org/TUTORIAL.html > > And my Xmobarrc is attached. > > I am running Endeavor OS, with xmonad-git-0.17, and > xmonad-contrib-git-0.17, and xmobar-get-0.36 > > When I boot into Xmonad, the Xmobar says "Updating", but doesn't show > anything! > > Thanks Ed > > PS I read all of April, but didn't catch the fix! > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -- brandon s allbery kf8nh allbery.b at gmail.com From linuxham at wowway.com Wed Jul 6 17:54:47 2022 From: linuxham at wowway.com (linuxham at wowway.com) Date: Wed, 6 Jul 2022 17:54:47 +0000 (UTC) Subject: [xmonad] XMonad broke Message-ID: Arch updated Haskell, but not my xmonad and xmonad - contrib. I recompiled xmonad, got a bunch of errors. I then reinstalled my xmonad-git and xmonad-contrib-git, and then recompiled xmonad and only got one error msg, on ToggleStruts, so I removed that, got zero errors, but no Xmobar, sigh... I will dig into it more, but cabal makes that go smoother?? Thanks Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: From allbery.b at gmail.com Wed Jul 6 18:18:17 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 6 Jul 2022 14:18:17 -0400 Subject: [xmonad] XMonad broke In-Reply-To: References: Message-ID: We don't break your config on upgrade, at least. ToggleStruts shouldn't have been an error, just a deprecation warning (we prefer using the combinator now over manual configuration). If you make your config available, we can help you upgrade it. On Wed, Jul 6, 2022 at 1:55 PM wrote: > > Arch updated Haskell, but not my xmonad and xmonad - contrib. I recompiled xmonad, got a bunch of errors. I then reinstalled my xmonad-git and xmonad-contrib-git, and then recompiled xmonad and only got one error msg, on ToggleStruts, so I removed that, got zero errors, but no Xmobar, sigh... I will dig into it more, but cabal makes that go smoother?? > > Thanks Ed > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -- brandon s allbery kf8nh allbery.b at gmail.com From linuxham at wowway.com Wed Jul 6 21:03:16 2022 From: linuxham at wowway.com (linuxham at wowway.com) Date: Wed, 6 Jul 2022 21:03:16 +0000 (UTC) Subject: [xmonad] XMonad broke In-Reply-To: References: Message-ID: <138857f7-fbe7-4a20-9c04-75a22c8c107c@wowway.com> My Xmonad build lives! EasySB works with defToggleStruts defined in the "main" stanza in my xmonad.hs after I downgraded to xmobar-43.. It's working as I wanted. Bump in the road or a way of life, not sure.. Not sure what the combinator does, couldn't locate any discussion online.. Ed Jul 6, 2022 2:18:30 PM Brandon Allbery : > We don't break your config on upgrade, at least. > > ToggleStruts shouldn't have been an error, just a deprecation warning > (we prefer using the combinator now over manual configuration). If you > make your config available, we can help you upgrade it. > > On Wed, Jul 6, 2022 at 1:55 PM wrote: >> >> Arch updated Haskell, but not my xmonad and xmonad - contrib. I recompiled xmonad, got a bunch of errors. I then reinstalled my xmonad-git and xmonad-contrib-git, and then recompiled xmonad and only got one error msg, on ToggleStruts, so I removed that, got zero errors, but no Xmobar, sigh... I will dig into it more, but cabal makes that go smoother?? >> >> Thanks Ed >> _______________________________________________ >> xmonad mailing list >> xmonad at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > > > > -- > brandon s allbery kf8nh > allbery.b at gmail.com From info at mito-space.com Sun Jul 10 09:32:07 2022 From: info at mito-space.com (Michael Topp) Date: Sun, 10 Jul 2022 11:32:07 +0200 Subject: [xmonad] Fwd: Re: xmonad packages broken in Debian In-Reply-To: <87zghpqc98.fsf@hyperspace> References: <739f6b77-8eeb-7843-f01b-0ca4ce5a528c@mito-space.com> <87zghpqc98.fsf@hyperspace> Message-ID: Well, Am 04.07.22 um 14:43 schrieb Tony Zorman: > On Mon, Jul 04 2022 14:25, Michael Topp wrote: >> if you're asking what distro maintains xmonad packages (the best), I >> count on Arch. > On the contrary, I think Arch is probably one of the worst options > around when talking about using XMonad via distro packages! > >> They update all official 'xmonad' packages frequently, because their >> haskell packages themselves also are updated quite often (could be once, >> twice a week). > XMonad on Arch is still stuck on 0.15 (0.16 for contrib); the new > release (0.17.0) has been out for almost a year by now! Arch have updated their xmonad + xmonad-contrib packages to 0.17 now. Xmobar also gets updated regularly. > The reason Haskell packages on Arch update so frequently is because they > are rebuilding all of the dependencies of a package when they update it. > This could be a random library anywhere in the dependency tree—probably > not an update to xmonad or xmonad-contrib itself. The reason for this > is that Arch links Haskell binaries dynamically instead of statically > (which is the default on pretty much any other distro; for obvious > reasons, I think). So what? That's just why the distros behave kind of conservative here; they don't provide Haskell stuff only because of XMonad. > One of the side effects of this is that people have > to recompile their configs with every bump. If they forget to do that > then they could get sent straight back to the TTY when logging in. > Seemingly, sometimes people also forget to bump some dependencies, > leading to lots of broken xmobar's etc. Not a fun experience. Nope, this only happens if you don't read the excellent Arch-Wiki thoroughly: [ https://wiki.archlinux.org/title/Xmonad#Problems_with_finding_shared_libraries_after_update ] Simply create a pacman-hook to automatically rebuild the xmonad.hs after every update; very convenient. Compilation will break nonetheless if the xmonad.hs contains errors and/or is (too) outdated. However if this happens while already being in X(monad), I am /not/ being send to TTY. >> Alternatively you can make your own local xmonad build, independent >> from the distro. And sure, you also have to decide which compiler to >> use. I highly recommend consulting the wikis from both Arch Linux and >> Xmonad. > If you use [our build instructions], then stack will pick which version > of GHC to use; you don't need to think about it. It's also much more > up-to-date than both wikis. > > I don't think the distribution matters much when using stack (or even > nix), but then we're also not talking about distro packages anymore. > > Tony > > [our build instructions]: https://xmonad.org/INSTALL.html > Yw, with "locally" I was also referring to this, though it's not explicitly called a "wiki". I was just too lazy not to launch my browser on my slow old machine for c&p-ing links; sorry for that. Anyway I once of course read "[our build instructions]" – and decided /against/ stack or cabal, but rather staying with the stock distro packages. Because at least for Arch it works! And because I didn't want to have another local parallel universe in my system or learn about ghc's, stack's etc. apps' other peculiarities, since I use some more apps built on haskell, too. – I have also got other things to do. So I don't mind if my Haskell or XMonad packages onboard are a minor-minor-version/s behind. Btw whether to build/install XMonad with non-conform methods skipping the distro's global package management was not the question. The OP asked: /> Which distro to folks use with xmonad?  Where is it best supported? / So again +1 for Arch! Regards, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From oneself at gmail.com Sun Jul 10 09:59:30 2022 From: oneself at gmail.com (Eyal Erez) Date: Sun, 10 Jul 2022 12:59:30 +0300 Subject: [xmonad] Errors building Xmonad using Stack Message-ID: Hi, After having a hard time getting xmonad installed via my destro, I've followed the "Building using Stack" instructions online ( https://xmonad.org/INSTALL.html). The build seemed to have worked okay. However, when I try to start xmonad with my config file, I get many import errors. I've checked out the tagged versions v0.15 of xmonad and v0.16 of xmonad-contrib. Has the libraries changed at some point or is the compiled version having a hard time finding them? Is the problem in how I'm building xmonad or in my configuration? Errors: https://pastebin.com/auFthRnJ xmonad.hs: https://pastebin.com/AeQjyVVB Thank you -- There are 10 types of people, those who know binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomi at nomi.cz Sun Jul 10 10:25:44 2022 From: tomi at nomi.cz (Tomas Janousek) Date: Sun, 10 Jul 2022 11:25:44 +0100 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: Message-ID: Hi, On Sun, Jul 10, 2022 at 12:59:30PM +0300, Eyal Erez wrote: >However, when I try to start xmonad with my config file, I get many import >errors. I've checked out the tagged versions v0.15 of xmonad and v0.16 of >xmonad-contrib. Has the libraries changed at some point or is the compiled >version having a hard time finding them? Is the problem in how I'm building >xmonad or in my configuration? The compiled version is having a hard time finding them, because xmonad v0.15 doesn't have the stack detection logic that our install instructions assume. They've been written with the master branch in mind, and the logic has since been released in v0.17.0, so if you specifically want to stick with a release, v0.17.0 is the oldest that the instructions will work with. -- Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From oneself at gmail.com Sun Jul 10 11:31:42 2022 From: oneself at gmail.com (Eyal Erez) Date: Sun, 10 Jul 2022 14:31:42 +0300 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: Message-ID: That worked!!! Thank you. On Sun, Jul 10, 2022 at 1:25 PM Tomas Janousek wrote: > Hi, > > On Sun, Jul 10, 2022 at 12:59:30PM +0300, Eyal Erez wrote: > > However, when I try to start xmonad with my config file, I get many import > errors. I've checked out the tagged versions v0.15 of xmonad and v0.16 of > xmonad-contrib. Has the libraries changed at some point or is the compiled > version having a hard time finding them? Is the problem in how I'm building > xmonad or in my configuration? > > The compiled version is having a hard time finding them, because xmonad > v0.15 doesn't have the stack detection logic that our install instructions > assume. They've been written with the master branch in mind, and the logic > has since been released in v0.17.0, so if you specifically want to stick > with a release, v0.17.0 is the oldest that the instructions will work with. > -- > > Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/ > -- *Eyal Erez <**oneself at gmail.com* *>* There are 10 types of people, those who know binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at theadamcooper.com Mon Jul 11 12:54:05 2022 From: adam at theadamcooper.com (Adam Cooper) Date: Mon, 11 Jul 2022 08:54:05 -0400 Subject: [xmonad] Question about desktop notifications Message-ID: <20220711125405.q6vsavzr24xisrmt@marcos.localdomain> I've recently started running xmonad on Arch Linux, with no desktop environment, and can't seem to figure out how the desktop notifications are being generated. - Here's a link to a snapshot, to show what my notifications currently look like: https://imgur.com/a/dLMbj3w - Running `notify-send 'Hello world!' 'This is an example notification.'` yields the error `GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files`. Can anyone shed some light on this mystery? Thank you, Adam Cooper From allbery.b at gmail.com Mon Jul 11 13:00:23 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Mon, 11 Jul 2022 09:00:23 -0400 Subject: [xmonad] Question about desktop notifications In-Reply-To: <20220711125405.q6vsavzr24xisrmt@marcos.localdomain> References: <20220711125405.q6vsavzr24xisrmt@marcos.localdomain> Message-ID: Are you sure that's a standard notification? Some programs (notably browsers, but I've seen a few other programs do their own as well) do their own notifications especially if no notification service is running. If you want standard notifications back, dunst (https://dunst-project.org/) is a common alternative to the ones provided by full desktop managers. On Mon, Jul 11, 2022 at 8:54 AM Adam Cooper wrote: > > I've recently started running xmonad on Arch Linux, with no desktop environment, and can't seem to figure out how the desktop notifications are being generated. > - Here's a link to a snapshot, to show what my notifications currently look like: https://imgur.com/a/dLMbj3w > - Running `notify-send 'Hello world!' 'This is an example notification.'` yields the error `GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files`. > > Can anyone shed some light on this mystery? > > Thank you, > Adam Cooper > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -- brandon s allbery kf8nh allbery.b at gmail.com From adam at theadamcooper.com Mon Jul 11 13:21:02 2022 From: adam at theadamcooper.com (Adam Cooper) Date: Mon, 11 Jul 2022 09:21:02 -0400 Subject: [xmonad] Question about desktop notifications In-Reply-To: References: <20220711125405.q6vsavzr24xisrmt@marcos.localdomain> Message-ID: <20220711132102.blmxs6kru3n2rkiy@marcos.localdomain> Ah I think you're right. It's probably being sent by qutebrowser. I will install dunst and see how that goes. Thanks! —AC On Jul 11 09:00AM, Brandon Allbery wrote: >Are you sure that's a standard notification? Some programs (notably >browsers, but I've seen a few other programs do their own as well) do >their own notifications especially if no notification service is >running. > >If you want standard notifications back, dunst >(https://dunst-project.org/) is a common alternative to the ones >provided by full desktop managers. > >On Mon, Jul 11, 2022 at 8:54 AM Adam Cooper wrote: >> >> I've recently started running xmonad on Arch Linux, with no desktop environment, and can't seem to figure out how the desktop notifications are being generated. >> - Here's a link to a snapshot, to show what my notifications currently look like: https://imgur.com/a/dLMbj3w >> - Running `notify-send 'Hello world!' 'This is an example notification.'` yields the error `GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files`. >> >> Can anyone shed some light on this mystery? >> >> Thank you, >> Adam Cooper >> _______________________________________________ >> xmonad mailing list >> xmonad at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > > > >-- >brandon s allbery kf8nh >allbery.b at gmail.com From allbery.b at gmail.com Mon Jul 11 13:25:54 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Mon, 11 Jul 2022 09:25:54 -0400 Subject: [xmonad] Question about desktop notifications In-Reply-To: <20220711132102.blmxs6kru3n2rkiy@marcos.localdomain> References: <20220711125405.q6vsavzr24xisrmt@marcos.localdomain> <20220711132102.blmxs6kru3n2rkiy@marcos.localdomain> Message-ID: The browser still might want to use its own; Chrome at least prefers to be able to run Javascript in its notifications. On Mon, Jul 11, 2022 at 9:21 AM Adam Cooper wrote: > > Ah I think you're right. It's probably being sent by qutebrowser. I will > install dunst and see how that goes. Thanks! > —AC > > On Jul 11 09:00AM, Brandon Allbery wrote: > >Are you sure that's a standard notification? Some programs (notably > >browsers, but I've seen a few other programs do their own as well) do > >their own notifications especially if no notification service is > >running. > > > >If you want standard notifications back, dunst > >(https://dunst-project.org/) is a common alternative to the ones > >provided by full desktop managers. > > > >On Mon, Jul 11, 2022 at 8:54 AM Adam Cooper wrote: > >> > >> I've recently started running xmonad on Arch Linux, with no desktop environment, and can't seem to figure out how the desktop notifications are being generated. > >> - Here's a link to a snapshot, to show what my notifications currently look like: https://imgur.com/a/dLMbj3w > >> - Running `notify-send 'Hello world!' 'This is an example notification.'` yields the error `GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files`. > >> > >> Can anyone shed some light on this mystery? > >> > >> Thank you, > >> Adam Cooper > >> _______________________________________________ > >> xmonad mailing list > >> xmonad at haskell.org > >> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > > > > > > > >-- > >brandon s allbery kf8nh > >allbery.b at gmail.com -- brandon s allbery kf8nh allbery.b at gmail.com From alainbe at free.fr Sat Jul 16 07:24:55 2022 From: alainbe at free.fr (Alain Bertrand) Date: Sat, 16 Jul 2022 09:24:55 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: Message-ID: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> Hello, I am confronted to the same problem on the same distro. On 10/07/2022 13:31, Eyal Erez wrote: > That worked!!! Could you explain exactly what you have done? Best regards, Alain > > Thank you. > > On Sun, Jul 10, 2022 at 1:25 PM Tomas Janousek wrote: > > Hi, > > On Sun, Jul 10, 2022 at 12:59:30PM +0300, Eyal Erez wrote: > > However, when I try to start xmonad with my config file, I get > many import > errors. I've checked out the tagged versions v0.15 of xmonad > and v0.16 of > xmonad-contrib. Has the libraries changed at some point or is > the compiled > version having a hard time finding them? Is the problem in how > I'm building > xmonad or in my configuration? > > The compiled version is having a hard time finding them, because > xmonad v0.15 doesn't have the stack detection logic that our > install instructions assume. They've been written with the master > branch in mind, and the logic has since been released in v0.17.0, > so if you specifically want to stick with a release, v0.17.0 is > the oldest that the instructions will work with. > > -- > > Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/ > > > > -- > *Eyal Erez <**oneself at gmail.com* *>* > > There are 10 types of people, those who know binary and those who don't. > > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad From alainbe at free.fr Tue Jul 19 09:14:09 2022 From: alainbe at free.fr (Alain Bertrand) Date: Tue, 19 Jul 2022 11:14:09 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> Message-ID: <3183cb42-f535-acbc-4556-646300f84f23@free.fr> Hi all, I am following the instructions https://xmonad.org/INSTALL.html to have a working xmonad installation on Debian sid. I have copied the /.stack-work/install/x86_64-linux-tinfo6/f92d4a5154b10803eefe0e58876d72699ac624c9183bbb8880d509b7f819d65f/9.0.2/bin/xmonad to my ~/bin folder. The xmonad.hs in my .config is the same as the one I use in my Debian stable installation. ~/bin/xmonad --recompile gives me : -------------------------- XMonad will use stack ghc --stack-yaml "/home/alain/.config/xmonad/stack.yaml" XMonad recompiling (forced). Errors detected while compiling xmonad config: /home/alain/.config/xmonad/xmona $ stack build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml Please check the file for errors. -------------- which is a little short for me to understand. I join my xmonad.hs file below. Best regards, Alain import XMonad import XMonad.Hooks.SetWMName import XMonad.Hooks.ManageDocks import qualified Data.Map as M import Graphics.X11.Xlib import XMonad.Config.Azerty import XMonad.Prompt import XMonad.Prompt.Shell import XMonad.Prompt.XMonad import XMonad.Actions.SpawnOn import XMonad.Layout.Spiral myStartUpHook :: X () myStartUpHook = do        spawnOn "panel" "xfce4-panel"        spawnOn "bg" "feh --bg-tile /usr/share/WindowMaker/Backgrounds/BlueImage.jpeg" --        spawnOn "clavier" "/home/alain/bin/clavier_conf" --        spawnOn "1" "/usr/bin/firefox"        spawnOn "1" "/usr/bin/thunderbird" --        spawnOn "workspace7" "/usr/bin/transmission-gtk" --      spawnOn "akonadi" "akonadictl start"        setWMName "LG3D" myLayoutHook = avoidStruts  ( Full ||| spiral (6/7)  ||| Tall 1 0.03 0.5)     -- sets default tile as: Tall nmaster (delta) (golden ratio)    --    -- main=do   xmonad  $ docks def     {     layoutHook = avoidStruts $ (spiral (6/7) ||| layoutHook defaultConfig)     , manageHook=manageHook defaultConfig <+> manageDocks     , modMask = mod4Mask     , keys = myKeys <+> keys azertyConfig     , startupHook = myStartUpHook     } -- main=do -- xmonad { keys = myKeys <+> keys azertyConfig } --     { --     layoutHook=avoidStruts $ layoutHook defaultConfig --     , manageHook=manageHook defaultConfig <+> manageDocks --     , startupHook = setWMName "LG3D" --     } -- -- myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList             [ ((modm, xK_F12), xmonadPrompt defaultXPConfig)             , ((modm, xK_F3 ), shellPrompt  defaultXPConfig)             ] From allbery.b at gmail.com Tue Jul 19 11:02:23 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Tue, 19 Jul 2022 07:02:23 -0400 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: <3183cb42-f535-acbc-4556-646300f84f23@free.fr> References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> Message-ID: Currently you have to run `xmonad --recompile` in a terminal to get the full error output (https://github.com/xmonad/xmonad/issues/403). On Tue, Jul 19, 2022 at 5:14 AM Alain Bertrand wrote: > > Hi all, > > I am following the instructions https://xmonad.org/INSTALL.html to have > a working xmonad installation on Debian sid. > > I have copied the > /.stack-work/install/x86_64-linux-tinfo6/f92d4a5154b10803eefe0e58876d72699ac624c9183bbb8880d509b7f819d65f/9.0.2/bin/xmonad > > to my ~/bin folder. > > > The xmonad.hs in my .config is the same as the one I use in my Debian > stable installation. > > > ~/bin/xmonad --recompile gives me : > > -------------------------- > XMonad will use stack ghc --stack-yaml > "/home/alain/.config/xmonad/stack.yaml" > XMonad recompiling (forced). > Errors detected while compiling xmonad config: > /home/alain/.config/xmonad/xmona > $ stack build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml > Please check the file for errors. > > -------------- > > which is a little short for me to understand. > > I join my xmonad.hs file below. > > > Best regards, > > > Alain > > import XMonad > import XMonad.Hooks.SetWMName > import XMonad.Hooks.ManageDocks > import qualified Data.Map as M > import Graphics.X11.Xlib > import XMonad.Config.Azerty > import XMonad.Prompt > import XMonad.Prompt.Shell > import XMonad.Prompt.XMonad > import XMonad.Actions.SpawnOn > import XMonad.Layout.Spiral > > myStartUpHook :: X () > myStartUpHook = do > spawnOn "panel" "xfce4-panel" > spawnOn "bg" "feh --bg-tile > /usr/share/WindowMaker/Backgrounds/BlueImage.jpeg" > > -- spawnOn "clavier" "/home/alain/bin/clavier_conf" > -- spawnOn "1" "/usr/bin/firefox" > spawnOn "1" "/usr/bin/thunderbird" > -- spawnOn "workspace7" "/usr/bin/transmission-gtk" > -- spawnOn "akonadi" "akonadictl start" > setWMName "LG3D" > > > myLayoutHook = avoidStruts ( Full ||| spiral (6/7) ||| Tall 1 0.03 0.5) > > -- sets default tile as: Tall nmaster (delta) (golden ratio) > -- > -- > main=do > xmonad $ docks def > { > layoutHook = avoidStruts $ (spiral (6/7) ||| layoutHook defaultConfig) > , manageHook=manageHook defaultConfig <+> manageDocks > , modMask = mod4Mask > , keys = myKeys <+> keys azertyConfig > , startupHook = myStartUpHook > } > > > -- main=do > -- xmonad { keys = myKeys <+> keys azertyConfig } > -- { > -- layoutHook=avoidStruts $ layoutHook defaultConfig > -- , manageHook=manageHook defaultConfig <+> manageDocks > -- , startupHook = setWMName "LG3D" > -- } > -- > -- > myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList > [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) > , ((modm, xK_F3 ), shellPrompt defaultXPConfig) > ] > > > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -- brandon s allbery kf8nh allbery.b at gmail.com From alainbe at free.fr Tue Jul 19 21:45:11 2022 From: alainbe at free.fr (Alain Bertrand) Date: Tue, 19 Jul 2022 23:45:11 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> Message-ID: Hello, Thanks for your answer. The only ouput I got is : ------------- alain at keitai-kun:~$~/bin/xmonad --recompile XMonad will use stack ghc --stack-yaml "/home/alain/.config/xmonad/stack.yaml" to recompile. XMonad recompiling (forced). Errors detected while compiling xmonad config: /home/alain/.config/xmonad/xmonad.hs $ stack build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml Please check the file for errors. ---------------- Thanks for your help. Alain On 19/07/2022 13:02, Brandon Allbery wrote: > Currently you have to run `xmonad --recompile` in a terminal to get > the full error output (https://github.com/xmonad/xmonad/issues/403). > > On Tue, Jul 19, 2022 at 5:14 AM Alain Bertrand wrote: >> Hi all, >> >> I am following the instructions https://xmonad.org/INSTALL.html to have >> a working xmonad installation on Debian sid. >> >> I have copied the >> /.stack-work/install/x86_64-linux-tinfo6/f92d4a5154b10803eefe0e58876d72699ac624c9183bbb8880d509b7f819d65f/9.0.2/bin/xmonad >> >> to my ~/bin folder. >> >> >> The xmonad.hs in my .config is the same as the one I use in my Debian >> stable installation. >> >> >> ~/bin/xmonad --recompile gives me : >> >> -------------------------- >> XMonad will use stack ghc --stack-yaml >> "/home/alain/.config/xmonad/stack.yaml" >> XMonad recompiling (forced). >> Errors detected while compiling xmonad config: >> /home/alain/.config/xmonad/xmona >> $ stack build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml >> Please check the file for errors. >> >> -------------- >> >> which is a little short for me to understand. >> >> I join my xmonad.hs file below. >> >> >> Best regards, >> >> >> Alain >> >> import XMonad >> import XMonad.Hooks.SetWMName >> import XMonad.Hooks.ManageDocks >> import qualified Data.Map as M >> import Graphics.X11.Xlib >> import XMonad.Config.Azerty >> import XMonad.Prompt >> import XMonad.Prompt.Shell >> import XMonad.Prompt.XMonad >> import XMonad.Actions.SpawnOn >> import XMonad.Layout.Spiral >> >> myStartUpHook :: X () >> myStartUpHook = do >> spawnOn "panel" "xfce4-panel" >> spawnOn "bg" "feh --bg-tile >> /usr/share/WindowMaker/Backgrounds/BlueImage.jpeg" >> >> -- spawnOn "clavier" "/home/alain/bin/clavier_conf" >> -- spawnOn "1" "/usr/bin/firefox" >> spawnOn "1" "/usr/bin/thunderbird" >> -- spawnOn "workspace7" "/usr/bin/transmission-gtk" >> -- spawnOn "akonadi" "akonadictl start" >> setWMName "LG3D" >> >> >> myLayoutHook = avoidStruts ( Full ||| spiral (6/7) ||| Tall 1 0.03 0.5) >> >> -- sets default tile as: Tall nmaster (delta) (golden ratio) >> -- >> -- >> main=do >> xmonad $ docks def >> { >> layoutHook = avoidStruts $ (spiral (6/7) ||| layoutHook defaultConfig) >> , manageHook=manageHook defaultConfig <+> manageDocks >> , modMask = mod4Mask >> , keys = myKeys <+> keys azertyConfig >> , startupHook = myStartUpHook >> } >> >> >> -- main=do >> -- xmonad { keys = myKeys <+> keys azertyConfig } >> -- { >> -- layoutHook=avoidStruts $ layoutHook defaultConfig >> -- , manageHook=manageHook defaultConfig <+> manageDocks >> -- , startupHook = setWMName "LG3D" >> -- } >> -- >> -- >> myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList >> [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) >> , ((modm, xK_F3 ), shellPrompt defaultXPConfig) >> ] >> >> >> >> _______________________________________________ >> xmonad mailing list >> xmonad at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > > From tomi at nomi.cz Tue Jul 19 22:03:59 2022 From: tomi at nomi.cz (Tomas Janousek) Date: Tue, 19 Jul 2022 23:03:59 +0100 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> Message-ID: Hi, On Tue, Jul 19, 2022 at 11:45:11PM +0200, Alain Bertrand wrote: >The only ouput I got is : >------------- >alain at keitai-kun:~$~/bin/xmonad --recompile >XMonad will use stack ghc --stack-yaml >"/home/alain/.config/xmonad/stack.yaml" to recompile. >XMonad recompiling (forced). >Errors detected while compiling xmonad config: >/home/alain/.config/xmonad/xmonad.hs >$ stack build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml > >Please check the file for errors. >---------------- This is admittedly somewhat confusing. Perhaps it'd be easier to understand if there was a "The error log follows" line somewhere, so we'll consider adding it. This is what it'd look like: XMonad will use stack ghc --stack-yaml "/home/alain/.config/xmonad/stack.yaml" to recompile. XMonad recompiling (forced). Errors detected while compiling xmonad config: /home/alain/.config/xmonad/xmonad.hs The error log follows: $ stack build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml Please check the file for errors. This means `stack build …` failed, because it's the last command and there's no `stack ghc …` following it. Re-running it manually without `--silent` will hopefully reveal what's wrong. -- Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From alainbe at free.fr Wed Jul 20 06:40:54 2022 From: alainbe at free.fr (Alain Bertrand) Date: Wed, 20 Jul 2022 08:40:54 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> Message-ID: <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> On 20/07/2022 00:03, Tomas Janousek wrote: > - > > Hi, > > This is admittedly somewhat confusing. Perhaps it'd be easier to > understand if there was a "The error log follows" line somewhere, so > we'll consider adding it. This is what it'd look like: > |XMonad will use stack ghc --stack-yaml > "/home/alain/.config/xmonad/stack.yaml" to recompile. XMonad > recompiling (forced). Errors detected while compiling xmonad config: > /home/alain/.config/xmonad/xmonad.hs The error log follows: $ stack > build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml > Please check the file for errors. | > > This means |stack build …| failed, because it's the last command and > there's no |stack ghc …| following it. Re-running it manually without > |--silent| will hopefully reveal what's wrong. > Thanks for your answer. I got the following output. alain at keitai-kun:~$ stack build  --stack-yaml /home/alain/.config/xmonad/stack.yaml Stack has not been tested with GHC versions above 8.10, and using 9.0.2, this may fail Stack has not been tested with Cabal versions above 3.2, but version 3.4.1.0 was found, this may fail xmonad-contrib> configure (lib) xmonad-contrib> Configuring xmonad-contrib-0.17.0.9... Prelude.chr: bad argument: 1744830475 Alain From allbery.b at gmail.com Wed Jul 20 11:56:43 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 20 Jul 2022 07:56:43 -0400 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> Message-ID: That usually means you have some cached build artifacts from a different ghc version around somewhere. Try removing .stack-work. On Wed, Jul 20, 2022 at 2:41 AM Alain Bertrand wrote: > > On 20/07/2022 00:03, Tomas Janousek wrote: > > - > > > > Hi, > > > > This is admittedly somewhat confusing. Perhaps it'd be easier to > > understand if there was a "The error log follows" line somewhere, so > > we'll consider adding it. This is what it'd look like: > > |XMonad will use stack ghc --stack-yaml > > "/home/alain/.config/xmonad/stack.yaml" to recompile. XMonad > > recompiling (forced). Errors detected while compiling xmonad config: > > /home/alain/.config/xmonad/xmonad.hs The error log follows: $ stack > > build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml > > Please check the file for errors. | > > > > This means |stack build …| failed, because it's the last command and > > there's no |stack ghc …| following it. Re-running it manually without > > |--silent| will hopefully reveal what's wrong. > > > Thanks for your answer. I got the following output. > > > alain at keitai-kun:~$ stack build --stack-yaml > /home/alain/.config/xmonad/stack.yaml > > Stack has not been tested with GHC versions above 8.10, and using 9.0.2, > this may fail > Stack has not been tested with Cabal versions above 3.2, but version > 3.4.1.0 was found, this may fail > xmonad-contrib> configure (lib) > xmonad-contrib> Configuring xmonad-contrib-0.17.0.9... > Prelude.chr: bad argument: 1744830475 > > Alain > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -- brandon s allbery kf8nh allbery.b at gmail.com From alainbe at free.fr Wed Jul 20 13:47:11 2022 From: alainbe at free.fr (Alain Bertrand) Date: Wed, 20 Jul 2022 15:47:11 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> Message-ID: <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> On 20/07/2022 13:56, Brandon Allbery wrote: > That usually means you have some cached build artifacts from a > different ghc version around somewhere. Try removing .stack-work. rm -rf all the 3 .stack-work in the .stack-work. Outpu below. Best regards, Alain alain at keitai-kun:~$ stack build  --stack-yaml /home/alain/.config/xmonad/stack.yaml Stack has not been tested with GHC versions above 8.10, and using 9.0.2, this may fail Stack has not been tested with Cabal versions above 3.2, but version 3.4.1.0 was found, this may fail Building all executables for `xmonad' once. After a successful build of all of them, only specified executables will be rebuilt . xmonad        > configure (lib + exe) xmonad        > Configuring xmonad-0.17.0.9... xmonad        > build (lib + exe) xmonad        > Preprocessing library for xmonad-0.17.0.9.. xmonad        > Building library for xmonad-0.17.0.9.. xmonad        > [1 of 9] Compiling Paths_xmonad xmonad        > [2 of 9] Compiling XMonad.StackSet xmonad        > [3 of 9] Compiling XMonad.Core xmonad        > [4 of 9] Compiling XMonad.Layout xmonad        > [5 of 9] Compiling XMonad.Operations xmonad        > [6 of 9] Compiling XMonad.ManageHook xmonad        > [7 of 9] Compiling XMonad.Config xmonad        > [8 of 9] Compiling XMonad.Main xmonad        > [9 of 9] Compiling XMonad xmonad        > Preprocessing executable 'xmonad' for xmonad-0.17.0.9.. xmonad        > Building executable 'xmonad' for xmonad-0.17.0.9.. xmonad        > [1 of 1] Compiling Main xmonad        > Linking .stack-work/dist/x86_64-linux-tinfo6/Cabal-3.4.1.0/build/xmonad/xmonad ... xmonad        > copy/register xmonad        > Installing library in /home/alain/.config/xmonad/.stack-work/install/x86_64-linux-tinfo6/f92d4a5154b10803eefe0e 58876d72699ac624c9183bbb8880d509b7f819d65f/9.0.2/lib/x86_64-linux-ghc-9.0.2/xmonad-0.17.0.9-BDz0LYGEEFE2EbqLQzakww xmonad        > Installing executable xmonad in /home/alain/.config/xmonad/.stack-work/install/x86_64-linux-tinfo6/f92d4a5154b1 0803eefe0e58876d72699ac624c9183bbb8880d509b7f819d65f/9.0.2/bin xmonad        > Registering library for xmonad-0.17.0.9.. xmonad-contrib> configure (lib) xmonad-contrib> Configuring xmonad-contrib-0.17.0.9... xmonad-contrib> build (lib) xmonad-contrib> Preprocessing library for xmonad-contrib-0.17.0.9.. xmonad-contrib> Building library for xmonad-contrib-0.17.0.9.. xmonad-contrib> [  1 of 307] Compiling XMonad.Actions.AfterDrag xmonad-contrib> [  2 of 307] Compiling XMonad.Actions.BluetileCommands xmonad-contrib> [  3 of 307] Compiling XMonad.Actions.ConstrainedResize xmonad-contrib> [  4 of 307] Compiling XMonad.Actions.CycleRecentWS xmonad-contrib> [  5 of 307] Compiling XMonad.Actions.DeManage xmonad-contrib> [  6 of 307] Compiling XMonad.Actions.NoBorders xmonad-contrib> [  7 of 307] Compiling XMonad.Actions.PerLayoutKeys xmonad-contrib> [  8 of 307] Compiling XMonad.Actions.PerWindowKeys xmonad-contrib> [  9 of 307] Compiling XMonad.Actions.PerWorkspaceKeys xmonad-contrib> [ 10 of 307] Compiling XMonad.Actions.Promote xmonad-contrib> [ 11 of 307] Compiling XMonad.Actions.RandomBackground xmonad-contrib> [ 12 of 307] Compiling XMonad.Config.Azerty xmonad-contrib> [ 13 of 307] Compiling XMonad.Config.Bepo xmonad-contrib> [ 14 of 307] Compiling XMonad.Doc.Configuring xmonad-contrib> [ 15 of 307] Compiling XMonad.Doc.Developing xmonad-contrib> [ 16 of 307] Compiling XMonad.Doc.Extending xmonad-contrib> [ 17 of 307] Compiling XMonad.Doc xmonad-contrib> [ 18 of 307] Compiling XMonad.Hooks.Script xmonad-contrib> [ 19 of 307] Compiling XMonad.Layout.Accordion xmonad-contrib> [ 20 of 307] Compiling XMonad.Layout.BinaryColumn xmonad-contrib> [ 21 of 307] Compiling XMonad.Layout.Column xmonad-contrib> [ 22 of 307] Compiling XMonad.Layout.Grid xmonad-contrib> [ 23 of 307] Compiling XMonad.Layout.OneBig xmonad-contrib> [ 24 of 307] Compiling XMonad.Layout.Roledex xmonad-contrib> [ 25 of 307] Compiling XMonad.Layout.Simplest xmonad-contrib> [ 26 of 307] Compiling XMonad.Layout.Spiral xmonad-contrib> [ 27 of 307] Compiling XMonad.Layout.Square xmonad-contrib> [ 28 of 307] Compiling XMonad.Layout.TwoPane xmonad-contrib> [ 29 of 307] Compiling XMonad.Layout.TwoPanePersistent xmonad-contrib> [ 30 of 307] Compiling XMonad.Prelude xmonad-contrib> [ 31 of 307] Compiling XMonad.Layout.ToggleLayouts xmonad-contrib> [ 32 of 307] Compiling XMonad.Layout.ThreeColumns xmonad-contrib> [ 33 of 307] Compiling XMonad.Layout.StackTile xmonad-contrib> [ 34 of 307] Compiling XMonad.Layout.ResizableTile xmonad-contrib> [ 35 of 307] Compiling XMonad.Layout.ResizableThreeColumns xmonad-contrib> [ 36 of 307] Compiling XMonad.Layout.PerWorkspace xmonad-contrib> [ 37 of 307] Compiling XMonad.Layout.PerScreen xmonad-contrib> [ 38 of 307] Compiling XMonad.Layout.MultiToggle xmonad-contrib> [ 39 of 307] Compiling XMonad.Layout.MultiDishes xmonad-contrib> [ 40 of 307] Compiling XMonad.Layout.MultiColumns xmonad-contrib> [ 41 of 307] Compiling XMonad.Layout.MosaicAlt xmonad-contrib> [ 42 of 307] Compiling XMonad.Layout.Mosaic xmonad-contrib> [ 43 of 307] Compiling XMonad.Layout.LayoutScreens xmonad-contrib> [ 44 of 307] Compiling XMonad.Layout.LayoutModifier xmonad-contrib> [ 45 of 307] Compiling XMonad.Layout.WindowArranger xmonad-contrib> [ 46 of 307] Compiling XMonad.Layout.VoidBorders xmonad-contrib> [ 47 of 307] Compiling XMonad.Layout.SimplestFloat xmonad-contrib> [ 48 of 307] Compiling XMonad.Layout.Renamed xmonad-contrib> [ 49 of 307] Compiling XMonad.Layout.Reflect xmonad-contrib> [ 50 of 307] Compiling XMonad.Layout.OnHost xmonad-contrib> [ 51 of 307] Compiling XMonad.Layout.Named xmonad-contrib> [ 52 of 307] Compiling XMonad.Layout.MessageControl xmonad-contrib> [ 53 of 307] Compiling XMonad.Layout.Maximize xmonad-contrib> [ 54 of 307] Compiling XMonad.Layout.Master xmonad-contrib> [ 55 of 307] Compiling XMonad.Layout.Magnifier xmonad-contrib> [ 56 of 307] Compiling XMonad.Layout.LimitWindows xmonad-contrib> [ 57 of 307] Compiling XMonad.Layout.Hidden xmonad-contrib> [ 58 of 307] Compiling XMonad.Layout.DraggingVisualizer xmonad-contrib> [ 59 of 307] Compiling XMonad.Layout.CenteredMaster xmonad-contrib> [ 60 of 307] Compiling XMonad.Layout.IfMax xmonad-contrib> [ 61 of 307] Compiling XMonad.Layout.HintedTile xmonad-contrib> [ 62 of 307] Compiling XMonad.Layout.HintedGrid xmonad-contrib> [ 63 of 307] Compiling XMonad.Layout.GridVariants xmonad-contrib> [ 64 of 307] Compiling XMonad.Layout.FixedColumn xmonad-contrib> [ 65 of 307] Compiling XMonad.Layout.Dishes xmonad-contrib> [ 66 of 307] Compiling XMonad.Layout.Cross xmonad-contrib> [ 67 of 307] Compiling XMonad.Layout.Circle xmonad-contrib> [ 68 of 307] Compiling XMonad.Layout.CenteredIfSingle xmonad-contrib> [ 69 of 307] Compiling XMonad.Layout.AvoidFloats xmonad-contrib> [ 70 of 307] Compiling XMonad.Layout.AutoMaster xmonad-contrib> [ 71 of 307] Compiling XMonad.Hooks.XPropManage xmonad-contrib> [ 72 of 307] Compiling XMonad.Hooks.WorkspaceByPos xmonad-contrib> [ 73 of 307] Compiling XMonad.Hooks.TaffybarPagerHints xmonad-contrib> [ 74 of 307] Compiling XMonad.Hooks.SetWMName xmonad-contrib> [ 75 of 307] Compiling XMonad.Hooks.ICCCMFocus xmonad-contrib> [ 76 of 307] Compiling XMonad.Hooks.RestoreMinimized xmonad-contrib> [ 77 of 307] Compiling XMonad.Hooks.InsertPosition xmonad-contrib> [ 78 of 307] Compiling XMonad.Hooks.FadeInactive xmonad-contrib> [ 79 of 307] Compiling XMonad.Hooks.FadeWindows xmonad-contrib> [ 80 of 307] Compiling XMonad.Hooks.DynamicProperty xmonad-contrib> [ 81 of 307] Compiling XMonad.Hooks.DebugKeyEvents xmonad-contrib> [ 82 of 307] Compiling XMonad.Actions.WithAll xmonad-contrib> [ 83 of 307] Compiling XMonad.Actions.SinkAll xmonad-contrib> [ 84 of 307] Compiling XMonad.Actions.Warp xmonad-contrib> [ 85 of 307] Compiling XMonad.Actions.UpdatePointer xmonad-contrib> [ 86 of 307] Compiling XMonad.Layout.MagicFocus xmonad-contrib> [ 87 of 307] Compiling XMonad.Actions.UpdateFocus xmonad-contrib> [ 88 of 307] Compiling XMonad.Actions.TiledWindowDragging xmonad-contrib> [ 89 of 307] Compiling XMonad.Actions.RotSlaves xmonad-contrib> [ 90 of 307] Compiling XMonad.Actions.PhysicalScreens xmonad-contrib> [ 91 of 307] Compiling XMonad.Actions.OnScreen xmonad-contrib> [ 92 of 307] Compiling XMonad.Actions.MessageFeedback xmonad-contrib> [ 93 of 307] Compiling XMonad.Actions.FocusNth xmonad-contrib> [ 94 of 307] Compiling XMonad.Actions.FloatKeys xmonad-contrib> [ 95 of 307] Compiling XMonad.Hooks.Place xmonad-contrib> [ 96 of 307] Compiling XMonad.Actions.FlexibleResize xmonad-contrib> [ 97 of 307] Compiling XMonad.Actions.FlexibleManipulate xmonad-contrib> [ 98 of 307] Compiling XMonad.Actions.FindEmptyWorkspace xmonad-contrib> [ 99 of 307] Compiling XMonad.Actions.DwmPromote xmonad-contrib> [100 of 307] Compiling XMonad.Actions.CycleWindows xmonad-contrib> [101 of 307] Compiling XMonad.Actions.CycleSelectedLayouts xmonad-contrib> [102 of 307] Compiling XMonad.Prompt.FuzzyMatch xmonad-contrib> [103 of 307] Compiling XMonad.Util.Cursor xmonad-contrib> [104 of 307] Compiling XMonad.Util.CustomKeys xmonad-contrib> [105 of 307] Compiling XMonad.Util.DebugWindow xmonad-contrib> [106 of 307] Compiling XMonad.Hooks.DebugStack xmonad-contrib> [107 of 307] Compiling XMonad.Hooks.DebugEvents xmonad-contrib> xmonad-contrib> /home/alain/.config/xmonad/xmonad-contrib/XMonad/Hooks/DebugEvents.hs:36:1: warning:[-Wunused-imports] xmonad-contrib>     The import of ‘Control.Monad.Fail’ is redundant xmonad-contrib>       except perhaps to import instances from ‘Control.Monad.Fail’ xmonad-contrib>     To import instances alone, use: import Control.Monad.Fail() xmonad-contrib>    | xmonad-contrib> 36 |import           Control.Monad.Fail xmonad-contrib>    |^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ xmonad-contrib> [108 of 307] Compiling XMonad.Util.ExtensibleConf xmonad-contrib> [109 of 307] Compiling XMonad.Hooks.Rescreen xmonad-contrib> [110 of 307] Compiling XMonad.Util.Font xmonad-contrib> xmonad-contrib> /home/alain/.config/xmonad/xmonad-contrib/XMonad/Util/Font.hs:42:1: warning:[-Wunused-imports] xmonad-contrib>     The import of ‘Data.Bits’ is redundant xmonad-contrib>       except perhaps to import instances from ‘Data.Bits’ xmonad-contrib>     To import instances alone, use: import Data.Bits() xmonad-contrib>    | xmonad-contrib> 42 |import Data.Bits ((.&.)) xmonad-contrib>    |^^^^^^^^^^^^^^^^^^^^^^^^ xmonad-contrib> [111 of 307] Compiling XMonad.Util.Grab xmonad-contrib> [112 of 307] Compiling XMonad.Util.Image xmonad-contrib> [113 of 307] Compiling XMonad.Util.Invisible xmonad-contrib> [114 of 307] Compiling XMonad.Util.Minimize xmonad-contrib> [115 of 307] Compiling XMonad.Util.NamedWindows xmonad-contrib> [116 of 307] Compiling XMonad.Util.NoTaskbar xmonad-contrib> [117 of 307] Compiling XMonad.Util.Parser xmonad-contrib> [118 of 307] Compiling XMonad.Util.Process xmonad-contrib> [119 of 307] Compiling XMonad.Util.PureX xmonad-contrib> [120 of 307] Compiling XMonad.Util.ExtensibleState xmonad-contrib> [121 of 307] Compiling XMonad.Util.PositionStore xmonad-contrib> [122 of 307] Compiling XMonad.Layout.PositionStoreFloat xmonad-contrib> [123 of 307] Compiling XMonad.Util.DynamicScratchpads xmonad-contrib> [124 of 307] Compiling XMonad.Util.ActionQueue xmonad-contrib> [125 of 307] Compiling XMonad.Hooks.BorderPerWindow xmonad-contrib> [126 of 307] Compiling XMonad.Util.ActionCycle xmonad-contrib> [127 of 307] Compiling XMonad.Hooks.WorkspaceHistory xmonad-contrib> [128 of 307] Compiling XMonad.Actions.CycleWorkspaceByScreen xmonad-contrib> [129 of 307] Compiling XMonad.Hooks.WallpaperSetter xmonad-contrib> [130 of 307] Compiling XMonad.Hooks.ToggleHook xmonad-contrib> [131 of 307] Compiling XMonad.Hooks.FloatNext xmonad-contrib> [132 of 307] Compiling XMonad.Hooks.ScreenCorners xmonad-contrib> [133 of 307] Compiling XMonad.Hooks.DynamicHooks xmonad-contrib> [134 of 307] Compiling XMonad.Hooks.CurrentWorkspaceOnTop xmonad-contrib> [135 of 307] Compiling XMonad.Actions.Workscreen xmonad-contrib> [136 of 307] Compiling XMonad.Actions.SwapPromote xmonad-contrib> [137 of 307] Compiling XMonad.Actions.RepeatAction xmonad-contrib> [138 of 307] Compiling XMonad.Actions.GroupNavigation xmonad-contrib> [139 of 307] Compiling XMonad.Util.Rectangle xmonad-contrib> [140 of 307] Compiling XMonad.Layout.Spacing xmonad-contrib> [141 of 307] Compiling XMonad.Layout.NoBorders xmonad-contrib> [142 of 307] Compiling XMonad.Layout.MultiToggle.Instances xmonad-contrib> [143 of 307] Compiling XMonad.Util.Replace xmonad-contrib> [144 of 307] Compiling XMonad.Util.Run xmonad-contrib> [145 of 307] Compiling XMonad.Util.Dzen xmonad-contrib> [146 of 307] Compiling XMonad.Util.Dmenu xmonad-contrib> [147 of 307] Compiling XMonad.Actions.WindowBringer xmonad-contrib> [148 of 307] Compiling XMonad.Actions.Commands xmonad-contrib> [149 of 307] Compiling XMonad.Hooks.ServerMode xmonad-contrib> [150 of 307] Compiling XMonad.Actions.SimpleDate xmonad-contrib> [151 of 307] Compiling XMonad.Actions.Plane xmonad-contrib> [152 of 307] Compiling XMonad.Util.SessionStart xmonad-contrib> [153 of 307] Compiling XMonad.Util.SpawnNamedPipe xmonad-contrib> [154 of 307] Compiling XMonad.Util.Stack xmonad-contrib> [155 of 307] Compiling XMonad.Layout.ZoomRow xmonad-contrib> [156 of 307] Compiling XMonad.Layout.TrackFloating xmonad-contrib> [157 of 307] Compiling XMonad.Layout.StateFull xmonad-contrib> [158 of 307] Compiling XMonad.Layout.Groups xmonad-contrib> [159 of 307] Compiling XMonad.Layout.Groups.Helpers xmonad-contrib> [160 of 307] Compiling XMonad.Layout.BoringWindows xmonad-contrib> [161 of 307] Compiling XMonad.Layout.Minimize xmonad-contrib> [162 of 307] Compiling XMonad.Hooks.RefocusLast xmonad-contrib> [163 of 307] Compiling XMonad.Actions.WorkspaceCursors xmonad-contrib> [164 of 307] Compiling XMonad.Actions.Sift xmonad-contrib> [165 of 307] Compiling XMonad.Actions.RotateSome xmonad-contrib> [166 of 307] Compiling XMonad.Util.StringProp xmonad-contrib> [167 of 307] Compiling XMonad.Util.Timer xmonad-contrib> [168 of 307] Compiling XMonad.Util.TreeZipper xmonad-contrib> [169 of 307] Compiling XMonad.Actions.TreeSelect xmonad-contrib> [170 of 307] Compiling XMonad.Util.Types xmonad-contrib> [171 of 307] Compiling XMonad.Layout.Gaps xmonad-contrib> [172 of 307] Compiling XMonad.Layout.Dwindle xmonad-contrib> [173 of 307] Compiling XMonad.Actions.WindowNavigation xmonad-contrib> [174 of 307] Compiling XMonad.Actions.MouseGestures xmonad-contrib> [175 of 307] Compiling XMonad.Util.Ungrab xmonad-contrib> [176 of 307] Compiling XMonad.Util.WindowState xmonad-contrib> [177 of 307] Compiling XMonad.Util.WorkspaceCompare xmonad-contrib> [178 of 307] Compiling XMonad.Actions.CycleWS xmonad-contrib> [179 of 307] Compiling XMonad.Actions.SwapWorkspaces xmonad-contrib> [180 of 307] Compiling XMonad.Actions.DynamicWorkspaceOrder xmonad-contrib> [181 of 307] Compiling XMonad.Util.XSelection xmonad-contrib> [182 of 307] Compiling XMonad.Prompt xmonad-contrib> [183 of 307] Compiling XMonad.Prompt.Zsh xmonad-contrib> [184 of 307] Compiling XMonad.Prompt.XMonad xmonad-contrib> [185 of 307] Compiling XMonad.Prompt.Workspace xmonad-contrib> [186 of 307] Compiling XMonad.Prompt.Unicode xmonad-contrib> [187 of 307] Compiling XMonad.Prompt.Ssh xmonad-contrib> [188 of 307] Compiling XMonad.Prompt.Shell xmonad-contrib> [189 of 307] Compiling XMonad.Actions.WindowGo xmonad-contrib> [190 of 307] Compiling XMonad.Prompt.RunOrRaise xmonad-contrib> [191 of 307] Compiling XMonad.Prompt.Pass xmonad-contrib> [192 of 307] Compiling XMonad.Prompt.OrgMode xmonad-contrib> [193 of 307] Compiling XMonad.Prompt.Man xmonad-contrib> [194 of 307] Compiling XMonad.Prompt.Layout xmonad-contrib> [195 of 307] Compiling XMonad.Prompt.Input xmonad-contrib> [196 of 307] Compiling XMonad.Prompt.Email xmonad-contrib> [197 of 307] Compiling XMonad.Prompt.Directory xmonad-contrib> [198 of 307] Compiling XMonad.Prompt.DirExec xmonad-contrib> [199 of 307] Compiling XMonad.Prompt.ConfirmPrompt xmonad-contrib> [200 of 307] Compiling XMonad.Prompt.AppendFile xmonad-contrib> [201 of 307] Compiling XMonad.Prompt.AppLauncher xmonad-contrib> [202 of 307] Compiling XMonad.Layout.WorkspaceDir xmonad-contrib> [203 of 307] Compiling XMonad.Actions.TagWindows xmonad-contrib> [204 of 307] Compiling XMonad.Util.WindowProperties xmonad-contrib> [205 of 307] Compiling XMonad.Util.RemoteWindows xmonad-contrib> [206 of 307] Compiling XMonad.Layout.Stoppable xmonad-contrib> [207 of 307] Compiling XMonad.Layout.SortedLayout xmonad-contrib> [208 of 307] Compiling XMonad.Layout.LayoutBuilder xmonad-contrib> [209 of 307] Compiling XMonad.Layout.LayoutBuilderP xmonad-contrib> [210 of 307] Compiling XMonad.Layout.IM xmonad-contrib> [211 of 307] Compiling XMonad.Layout.Drawer xmonad-contrib> [212 of 307] Compiling XMonad.Hooks.ManageHelpers xmonad-contrib> [213 of 307] Compiling XMonad.Layout.Monitor xmonad-contrib> [214 of 307] Compiling XMonad.Hooks.UrgencyHook xmonad-contrib> [215 of 307] Compiling XMonad.Hooks.StatusBar.PP xmonad-contrib> [216 of 307] Compiling XMonad.Util.Loggers xmonad-contrib> [217 of 307] Compiling XMonad.Util.ClickableWorkspaces xmonad-contrib> [218 of 307] Compiling XMonad.Layout.IndependentScreens xmonad-contrib> [219 of 307] Compiling XMonad.Actions.LinkWorkspaces xmonad-contrib> [220 of 307] Compiling XMonad.Hooks.StatusBar.WorkspaceScreen xmonad-contrib> [221 of 307] Compiling XMonad.Hooks.DynamicIcons xmonad-contrib> [222 of 307] Compiling XMonad.Actions.CopyWindow xmonad-contrib> [223 of 307] Compiling XMonad.Prompt.Window xmonad-contrib> [224 of 307] Compiling XMonad.Actions.TopicSpace xmonad-contrib> [225 of 307] Compiling XMonad.Hooks.Focus xmonad-contrib> [226 of 307] Compiling XMonad.Hooks.ManageDocks xmonad-contrib> [227 of 307] Compiling XMonad.Hooks.StatusBar xmonad-contrib> [228 of 307] Compiling XMonad.Util.Hacks xmonad-contrib> [229 of 307] Compiling XMonad.Hooks.DynamicLog xmonad-contrib> [230 of 307] Compiling XMonad.Hooks.DynamicBars xmonad-contrib> [231 of 307] Compiling XMonad.Actions.FloatSnap xmonad-contrib> [232 of 307] Compiling XMonad.Hooks.EwmhDesktops xmonad-contrib> [233 of 307] Compiling XMonad.Layout.Fullscreen xmonad-contrib> [234 of 307] Compiling XMonad.Config.Desktop xmonad-contrib> [235 of 307] Compiling XMonad.Config.Xfce xmonad-contrib> [236 of 307] Compiling XMonad.Config.Mate xmonad-contrib> [237 of 307] Compiling XMonad.Config.Kde xmonad-contrib> [238 of 307] Compiling XMonad.Config.Gnome xmonad-contrib> [239 of 307] Compiling XMonad.Actions.WorkspaceNames xmonad-contrib> [240 of 307] Compiling XMonad.Actions.Minimize xmonad-contrib> [241 of 307] Compiling XMonad.Hooks.Minimize xmonad-contrib> [242 of 307] Compiling XMonad.Util.ExclusiveScratchpads xmonad-contrib> [243 of 307] Compiling XMonad.Actions.SpawnOn xmonad-contrib> [244 of 307] Compiling XMonad.Util.SpawnOnce xmonad-contrib> [245 of 307] Compiling XMonad.Config.Dmwit xmonad-contrib> [246 of 307] Compiling XMonad.Actions.Launcher xmonad-contrib> [247 of 307] Compiling XMonad.Actions.DynamicWorkspaces xmonad-contrib> [248 of 307] Compiling XMonad.Util.NamedScratchpad xmonad-contrib> [249 of 307] Compiling XMonad.Util.Scratchpad xmonad-contrib> [250 of 307] Compiling XMonad.Util.Loggers.NamedScratchpad xmonad-contrib> [251 of 307] Compiling XMonad.Actions.DynamicWorkspaceGroups xmonad-contrib> [252 of 307] Compiling XMonad.Actions.DynamicProjects xmonad-contrib> [253 of 307] Compiling XMonad.Actions.Search xmonad-contrib> [254 of 307] Compiling XMonad.Util.XUtils xmonad-contrib> [255 of 307] Compiling XMonad.Layout.WindowNavigation xmonad-contrib> [256 of 307] Compiling XMonad.Layout.ComboP xmonad-contrib> [257 of 307] Compiling XMonad.Layout.Combo xmonad-contrib> [258 of 307] Compiling XMonad.Layout.ShowWName xmonad-contrib> [259 of 307] Compiling XMonad.Layout.MouseResizableTile xmonad-contrib> [260 of 307] Compiling XMonad.Layout.DragPane xmonad-contrib> [261 of 307] Compiling XMonad.Layout.LayoutCombinators xmonad-contrib> [262 of 307] Compiling XMonad.Layout.Decoration xmonad-contrib> [263 of 307] Compiling XMonad.Util.Themes xmonad-contrib> [264 of 307] Compiling XMonad.Prompt.Theme xmonad-contrib> [265 of 307] Compiling XMonad.Layout.TallMastersCombo xmonad-contrib> [266 of 307] Compiling XMonad.Layout.Tabbed xmonad-contrib> [267 of 307] Compiling XMonad.Config.Sjanssen xmonad-contrib> [268 of 307] Compiling XMonad.Config.Droundy xmonad-contrib> [269 of 307] Compiling XMonad.Layout.SubLayouts xmonad-contrib> [270 of 307] Compiling XMonad.Hooks.WindowSwallowing xmonad-contrib> [271 of 307] Compiling XMonad.Layout.SimpleDecoration xmonad-contrib> [272 of 307] Compiling XMonad.Layout.ResizeScreen xmonad-contrib> [273 of 307] Compiling XMonad.Layout.TabBarDecoration xmonad-contrib> [274 of 307] Compiling XMonad.Layout.MultiToggle.TabBarDecoration xmonad-contrib> [275 of 307] Compiling XMonad.Layout.NoFrillsDecoration xmonad-contrib> [276 of 307] Compiling XMonad.Layout.LayoutHints xmonad-contrib> [277 of 307] Compiling XMonad.Layout.Groups.Examples xmonad-contrib> [278 of 307] Compiling XMonad.Layout.Groups.Wmii xmonad-contrib> [279 of 307] Compiling XMonad.Layout.FixedAspectRatio xmonad-contrib> [280 of 307] Compiling XMonad.Layout.DwmStyle xmonad-contrib> [281 of 307] Compiling XMonad.Hooks.PositionStoreHooks xmonad-contrib> [282 of 307] Compiling XMonad.Actions.GridSelect xmonad-contrib> [283 of 307] Compiling XMonad.Actions.WindowMenu xmonad-contrib> [284 of 307] Compiling XMonad.Layout.DecorationAddons xmonad-contrib> [285 of 307] Compiling XMonad.Layout.ImageButtonDecoration xmonad-contrib> [286 of 307] Compiling XMonad.Layout.WindowSwitcherDecoration xmonad-contrib> [287 of 307] Compiling XMonad.Layout.ButtonDecoration xmonad-contrib> [288 of 307] Compiling XMonad.Layout.BorderResize xmonad-contrib> [289 of 307] Compiling XMonad.Config.Bluetile xmonad-contrib> [290 of 307] Compiling XMonad.Layout.BinarySpacePartition xmonad-contrib> [291 of 307] Compiling XMonad.Hooks.ShowWName xmonad-contrib> [292 of 307] Compiling XMonad.Actions.Submap xmonad-contrib> [293 of 307] Compiling XMonad.Util.NamedActions xmonad-contrib> [294 of 307] Compiling XMonad.Util.EZConfig xmonad-contrib> [295 of 307] Compiling XMonad.Util.Paste xmonad-contrib> [296 of 307] Compiling XMonad.Actions.KeyRemap xmonad-contrib> [297 of 307] Compiling XMonad.Hooks.Modal xmonad-contrib> [298 of 307] Compiling XMonad.Hooks.ManageDebug xmonad-contrib> [299 of 307] Compiling XMonad.Config.Prime xmonad-contrib> [300 of 307] Compiling XMonad.Actions.Navigation2D xmonad-contrib> [301 of 307] Compiling XMonad.Actions.Prefix xmonad-contrib> [302 of 307] Compiling XMonad.Actions.ShowText xmonad-contrib> [303 of 307] Compiling XMonad.Actions.MouseResize xmonad-contrib> [304 of 307] Compiling XMonad.Layout.SimpleFloat xmonad-contrib> [305 of 307] Compiling XMonad.Config.Arossato xmonad-contrib> [306 of 307] Compiling XMonad.Layout.DecorationMadness xmonad-contrib> [307 of 307] Compiling XMonad.Actions.EasyMotion Completed 2 action(s). Prelude.chr: bad argument: 1744830475 From allbery.b at gmail.com Wed Jul 20 13:58:26 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 20 Jul 2022 09:58:26 -0400 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> Message-ID: Oh my. That suggests the corruption is in your main .stack while trying to register the built packages. But at this point I have to hand you off to someone who knows stack better than I do. On Wed, Jul 20, 2022 at 9:47 AM Alain Bertrand wrote: > > On 20/07/2022 13:56, Brandon Allbery wrote: > > That usually means you have some cached build artifacts from a > > different ghc version around somewhere. Try removing .stack-work. > > rm -rf all the 3 .stack-work in the .stack-work. > > Outpu below. > > Best regards, > > > Alain > > alain at keitai-kun:~$ stack build --stack-yaml > /home/alain/.config/xmonad/stack.yaml > Stack has not been tested with GHC versions above 8.10, and using 9.0.2, > this may fail > Stack has not been tested with Cabal versions above 3.2, but version > 3.4.1.0 was found, this may fail > Building all executables for `xmonad' once. After a successful build of > all of them, only specified executables will be rebuilt > . > xmonad > configure (lib + exe) > xmonad > Configuring xmonad-0.17.0.9... > xmonad > build (lib + exe) > xmonad > Preprocessing library for xmonad-0.17.0.9.. > xmonad > Building library for xmonad-0.17.0.9.. > xmonad > [1 of 9] Compiling Paths_xmonad > xmonad > [2 of 9] Compiling XMonad.StackSet > xmonad > [3 of 9] Compiling XMonad.Core > xmonad > [4 of 9] Compiling XMonad.Layout > xmonad > [5 of 9] Compiling XMonad.Operations > xmonad > [6 of 9] Compiling XMonad.ManageHook > xmonad > [7 of 9] Compiling XMonad.Config > xmonad > [8 of 9] Compiling XMonad.Main > xmonad > [9 of 9] Compiling XMonad > xmonad > Preprocessing executable 'xmonad' for xmonad-0.17.0.9.. > xmonad > Building executable 'xmonad' for xmonad-0.17.0.9.. > xmonad > [1 of 1] Compiling Main > xmonad > Linking > .stack-work/dist/x86_64-linux-tinfo6/Cabal-3.4.1.0/build/xmonad/xmonad ... > xmonad > copy/register > xmonad > Installing library in > /home/alain/.config/xmonad/.stack-work/install/x86_64-linux-tinfo6/f92d4a5154b10803eefe0e > 58876d72699ac624c9183bbb8880d509b7f819d65f/9.0.2/lib/x86_64-linux-ghc-9.0.2/xmonad-0.17.0.9-BDz0LYGEEFE2EbqLQzakww > > xmonad > Installing executable xmonad in > /home/alain/.config/xmonad/.stack-work/install/x86_64-linux-tinfo6/f92d4a5154b1 > 0803eefe0e58876d72699ac624c9183bbb8880d509b7f819d65f/9.0.2/bin > xmonad > Registering library for xmonad-0.17.0.9.. > xmonad-contrib> configure (lib) > xmonad-contrib> Configuring xmonad-contrib-0.17.0.9... > xmonad-contrib> build (lib) > xmonad-contrib> Preprocessing library for xmonad-contrib-0.17.0.9.. > xmonad-contrib> Building library for xmonad-contrib-0.17.0.9.. > xmonad-contrib> [ 1 of 307] Compiling XMonad.Actions.AfterDrag > xmonad-contrib> [ 2 of 307] Compiling XMonad.Actions.BluetileCommands > xmonad-contrib> [ 3 of 307] Compiling XMonad.Actions.ConstrainedResize > xmonad-contrib> [ 4 of 307] Compiling XMonad.Actions.CycleRecentWS > xmonad-contrib> [ 5 of 307] Compiling XMonad.Actions.DeManage > xmonad-contrib> [ 6 of 307] Compiling XMonad.Actions.NoBorders > xmonad-contrib> [ 7 of 307] Compiling XMonad.Actions.PerLayoutKeys > xmonad-contrib> [ 8 of 307] Compiling XMonad.Actions.PerWindowKeys > xmonad-contrib> [ 9 of 307] Compiling XMonad.Actions.PerWorkspaceKeys > xmonad-contrib> [ 10 of 307] Compiling XMonad.Actions.Promote > xmonad-contrib> [ 11 of 307] Compiling XMonad.Actions.RandomBackground > xmonad-contrib> [ 12 of 307] Compiling XMonad.Config.Azerty > xmonad-contrib> [ 13 of 307] Compiling XMonad.Config.Bepo > xmonad-contrib> [ 14 of 307] Compiling XMonad.Doc.Configuring > xmonad-contrib> [ 15 of 307] Compiling XMonad.Doc.Developing > xmonad-contrib> [ 16 of 307] Compiling XMonad.Doc.Extending > xmonad-contrib> [ 17 of 307] Compiling XMonad.Doc > xmonad-contrib> [ 18 of 307] Compiling XMonad.Hooks.Script > xmonad-contrib> [ 19 of 307] Compiling XMonad.Layout.Accordion > xmonad-contrib> [ 20 of 307] Compiling XMonad.Layout.BinaryColumn > xmonad-contrib> [ 21 of 307] Compiling XMonad.Layout.Column > xmonad-contrib> [ 22 of 307] Compiling XMonad.Layout.Grid > xmonad-contrib> [ 23 of 307] Compiling XMonad.Layout.OneBig > xmonad-contrib> [ 24 of 307] Compiling XMonad.Layout.Roledex > xmonad-contrib> [ 25 of 307] Compiling XMonad.Layout.Simplest > xmonad-contrib> [ 26 of 307] Compiling XMonad.Layout.Spiral > xmonad-contrib> [ 27 of 307] Compiling XMonad.Layout.Square > xmonad-contrib> [ 28 of 307] Compiling XMonad.Layout.TwoPane > xmonad-contrib> [ 29 of 307] Compiling XMonad.Layout.TwoPanePersistent > xmonad-contrib> [ 30 of 307] Compiling XMonad.Prelude > xmonad-contrib> [ 31 of 307] Compiling XMonad.Layout.ToggleLayouts > xmonad-contrib> [ 32 of 307] Compiling XMonad.Layout.ThreeColumns > xmonad-contrib> [ 33 of 307] Compiling XMonad.Layout.StackTile > xmonad-contrib> [ 34 of 307] Compiling XMonad.Layout.ResizableTile > xmonad-contrib> [ 35 of 307] Compiling XMonad.Layout.ResizableThreeColumns > xmonad-contrib> [ 36 of 307] Compiling XMonad.Layout.PerWorkspace > xmonad-contrib> [ 37 of 307] Compiling XMonad.Layout.PerScreen > xmonad-contrib> [ 38 of 307] Compiling XMonad.Layout.MultiToggle > xmonad-contrib> [ 39 of 307] Compiling XMonad.Layout.MultiDishes > xmonad-contrib> [ 40 of 307] Compiling XMonad.Layout.MultiColumns > xmonad-contrib> [ 41 of 307] Compiling XMonad.Layout.MosaicAlt > xmonad-contrib> [ 42 of 307] Compiling XMonad.Layout.Mosaic > xmonad-contrib> [ 43 of 307] Compiling XMonad.Layout.LayoutScreens > xmonad-contrib> [ 44 of 307] Compiling XMonad.Layout.LayoutModifier > xmonad-contrib> [ 45 of 307] Compiling XMonad.Layout.WindowArranger > xmonad-contrib> [ 46 of 307] Compiling XMonad.Layout.VoidBorders > xmonad-contrib> [ 47 of 307] Compiling XMonad.Layout.SimplestFloat > xmonad-contrib> [ 48 of 307] Compiling XMonad.Layout.Renamed > xmonad-contrib> [ 49 of 307] Compiling XMonad.Layout.Reflect > xmonad-contrib> [ 50 of 307] Compiling XMonad.Layout.OnHost > xmonad-contrib> [ 51 of 307] Compiling XMonad.Layout.Named > xmonad-contrib> [ 52 of 307] Compiling XMonad.Layout.MessageControl > xmonad-contrib> [ 53 of 307] Compiling XMonad.Layout.Maximize > xmonad-contrib> [ 54 of 307] Compiling XMonad.Layout.Master > xmonad-contrib> [ 55 of 307] Compiling XMonad.Layout.Magnifier > xmonad-contrib> [ 56 of 307] Compiling XMonad.Layout.LimitWindows > xmonad-contrib> [ 57 of 307] Compiling XMonad.Layout.Hidden > xmonad-contrib> [ 58 of 307] Compiling XMonad.Layout.DraggingVisualizer > xmonad-contrib> [ 59 of 307] Compiling XMonad.Layout.CenteredMaster > xmonad-contrib> [ 60 of 307] Compiling XMonad.Layout.IfMax > xmonad-contrib> [ 61 of 307] Compiling XMonad.Layout.HintedTile > xmonad-contrib> [ 62 of 307] Compiling XMonad.Layout.HintedGrid > xmonad-contrib> [ 63 of 307] Compiling XMonad.Layout.GridVariants > xmonad-contrib> [ 64 of 307] Compiling XMonad.Layout.FixedColumn > xmonad-contrib> [ 65 of 307] Compiling XMonad.Layout.Dishes > xmonad-contrib> [ 66 of 307] Compiling XMonad.Layout.Cross > xmonad-contrib> [ 67 of 307] Compiling XMonad.Layout.Circle > xmonad-contrib> [ 68 of 307] Compiling XMonad.Layout.CenteredIfSingle > xmonad-contrib> [ 69 of 307] Compiling XMonad.Layout.AvoidFloats > xmonad-contrib> [ 70 of 307] Compiling XMonad.Layout.AutoMaster > xmonad-contrib> [ 71 of 307] Compiling XMonad.Hooks.XPropManage > xmonad-contrib> [ 72 of 307] Compiling XMonad.Hooks.WorkspaceByPos > xmonad-contrib> [ 73 of 307] Compiling XMonad.Hooks.TaffybarPagerHints > xmonad-contrib> [ 74 of 307] Compiling XMonad.Hooks.SetWMName > xmonad-contrib> [ 75 of 307] Compiling XMonad.Hooks.ICCCMFocus > xmonad-contrib> [ 76 of 307] Compiling XMonad.Hooks.RestoreMinimized > xmonad-contrib> [ 77 of 307] Compiling XMonad.Hooks.InsertPosition > xmonad-contrib> [ 78 of 307] Compiling XMonad.Hooks.FadeInactive > xmonad-contrib> [ 79 of 307] Compiling XMonad.Hooks.FadeWindows > xmonad-contrib> [ 80 of 307] Compiling XMonad.Hooks.DynamicProperty > xmonad-contrib> [ 81 of 307] Compiling XMonad.Hooks.DebugKeyEvents > xmonad-contrib> [ 82 of 307] Compiling XMonad.Actions.WithAll > xmonad-contrib> [ 83 of 307] Compiling XMonad.Actions.SinkAll > xmonad-contrib> [ 84 of 307] Compiling XMonad.Actions.Warp > xmonad-contrib> [ 85 of 307] Compiling XMonad.Actions.UpdatePointer > xmonad-contrib> [ 86 of 307] Compiling XMonad.Layout.MagicFocus > xmonad-contrib> [ 87 of 307] Compiling XMonad.Actions.UpdateFocus > xmonad-contrib> [ 88 of 307] Compiling XMonad.Actions.TiledWindowDragging > xmonad-contrib> [ 89 of 307] Compiling XMonad.Actions.RotSlaves > xmonad-contrib> [ 90 of 307] Compiling XMonad.Actions.PhysicalScreens > xmonad-contrib> [ 91 of 307] Compiling XMonad.Actions.OnScreen > xmonad-contrib> [ 92 of 307] Compiling XMonad.Actions.MessageFeedback > xmonad-contrib> [ 93 of 307] Compiling XMonad.Actions.FocusNth > xmonad-contrib> [ 94 of 307] Compiling XMonad.Actions.FloatKeys > xmonad-contrib> [ 95 of 307] Compiling XMonad.Hooks.Place > xmonad-contrib> [ 96 of 307] Compiling XMonad.Actions.FlexibleResize > xmonad-contrib> [ 97 of 307] Compiling XMonad.Actions.FlexibleManipulate > xmonad-contrib> [ 98 of 307] Compiling XMonad.Actions.FindEmptyWorkspace > xmonad-contrib> [ 99 of 307] Compiling XMonad.Actions.DwmPromote > xmonad-contrib> [100 of 307] Compiling XMonad.Actions.CycleWindows > xmonad-contrib> [101 of 307] Compiling XMonad.Actions.CycleSelectedLayouts > xmonad-contrib> [102 of 307] Compiling XMonad.Prompt.FuzzyMatch > xmonad-contrib> [103 of 307] Compiling XMonad.Util.Cursor > xmonad-contrib> [104 of 307] Compiling XMonad.Util.CustomKeys > xmonad-contrib> [105 of 307] Compiling XMonad.Util.DebugWindow > xmonad-contrib> [106 of 307] Compiling XMonad.Hooks.DebugStack > xmonad-contrib> [107 of 307] Compiling XMonad.Hooks.DebugEvents > xmonad-contrib> > xmonad-contrib> > /home/alain/.config/xmonad/xmonad-contrib/XMonad/Hooks/DebugEvents.hs:36:1: > warning:[-Wunused-imports] > xmonad-contrib> The import of ‘Control.Monad.Fail’ is redundant > xmonad-contrib> except perhaps to import instances from > ‘Control.Monad.Fail’ > xmonad-contrib> To import instances alone, use: import > Control.Monad.Fail() > xmonad-contrib> | > xmonad-contrib> 36 |import Control.Monad.Fail > xmonad-contrib> |^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > xmonad-contrib> [108 of 307] Compiling XMonad.Util.ExtensibleConf > xmonad-contrib> [109 of 307] Compiling XMonad.Hooks.Rescreen > xmonad-contrib> [110 of 307] Compiling XMonad.Util.Font > xmonad-contrib> > xmonad-contrib> > /home/alain/.config/xmonad/xmonad-contrib/XMonad/Util/Font.hs:42:1: > warning:[-Wunused-imports] > xmonad-contrib> The import of ‘Data.Bits’ is redundant > xmonad-contrib> except perhaps to import instances from ‘Data.Bits’ > xmonad-contrib> To import instances alone, use: import Data.Bits() > xmonad-contrib> | > xmonad-contrib> 42 |import Data.Bits ((.&.)) > xmonad-contrib> |^^^^^^^^^^^^^^^^^^^^^^^^ > xmonad-contrib> [111 of 307] Compiling XMonad.Util.Grab > xmonad-contrib> [112 of 307] Compiling XMonad.Util.Image > xmonad-contrib> [113 of 307] Compiling XMonad.Util.Invisible > xmonad-contrib> [114 of 307] Compiling XMonad.Util.Minimize > xmonad-contrib> [115 of 307] Compiling XMonad.Util.NamedWindows > xmonad-contrib> [116 of 307] Compiling XMonad.Util.NoTaskbar > xmonad-contrib> [117 of 307] Compiling XMonad.Util.Parser > xmonad-contrib> [118 of 307] Compiling XMonad.Util.Process > xmonad-contrib> [119 of 307] Compiling XMonad.Util.PureX > xmonad-contrib> [120 of 307] Compiling XMonad.Util.ExtensibleState > xmonad-contrib> [121 of 307] Compiling XMonad.Util.PositionStore > xmonad-contrib> [122 of 307] Compiling XMonad.Layout.PositionStoreFloat > xmonad-contrib> [123 of 307] Compiling XMonad.Util.DynamicScratchpads > xmonad-contrib> [124 of 307] Compiling XMonad.Util.ActionQueue > xmonad-contrib> [125 of 307] Compiling XMonad.Hooks.BorderPerWindow > xmonad-contrib> [126 of 307] Compiling XMonad.Util.ActionCycle > xmonad-contrib> [127 of 307] Compiling XMonad.Hooks.WorkspaceHistory > xmonad-contrib> [128 of 307] Compiling > XMonad.Actions.CycleWorkspaceByScreen > xmonad-contrib> [129 of 307] Compiling XMonad.Hooks.WallpaperSetter > xmonad-contrib> [130 of 307] Compiling XMonad.Hooks.ToggleHook > xmonad-contrib> [131 of 307] Compiling XMonad.Hooks.FloatNext > xmonad-contrib> [132 of 307] Compiling XMonad.Hooks.ScreenCorners > xmonad-contrib> [133 of 307] Compiling XMonad.Hooks.DynamicHooks > xmonad-contrib> [134 of 307] Compiling XMonad.Hooks.CurrentWorkspaceOnTop > xmonad-contrib> [135 of 307] Compiling XMonad.Actions.Workscreen > xmonad-contrib> [136 of 307] Compiling XMonad.Actions.SwapPromote > xmonad-contrib> [137 of 307] Compiling XMonad.Actions.RepeatAction > xmonad-contrib> [138 of 307] Compiling XMonad.Actions.GroupNavigation > xmonad-contrib> [139 of 307] Compiling XMonad.Util.Rectangle > xmonad-contrib> [140 of 307] Compiling XMonad.Layout.Spacing > xmonad-contrib> [141 of 307] Compiling XMonad.Layout.NoBorders > xmonad-contrib> [142 of 307] Compiling XMonad.Layout.MultiToggle.Instances > xmonad-contrib> [143 of 307] Compiling XMonad.Util.Replace > xmonad-contrib> [144 of 307] Compiling XMonad.Util.Run > xmonad-contrib> [145 of 307] Compiling XMonad.Util.Dzen > xmonad-contrib> [146 of 307] Compiling XMonad.Util.Dmenu > xmonad-contrib> [147 of 307] Compiling XMonad.Actions.WindowBringer > xmonad-contrib> [148 of 307] Compiling XMonad.Actions.Commands > xmonad-contrib> [149 of 307] Compiling XMonad.Hooks.ServerMode > xmonad-contrib> [150 of 307] Compiling XMonad.Actions.SimpleDate > xmonad-contrib> [151 of 307] Compiling XMonad.Actions.Plane > xmonad-contrib> [152 of 307] Compiling XMonad.Util.SessionStart > xmonad-contrib> [153 of 307] Compiling XMonad.Util.SpawnNamedPipe > xmonad-contrib> [154 of 307] Compiling XMonad.Util.Stack > xmonad-contrib> [155 of 307] Compiling XMonad.Layout.ZoomRow > xmonad-contrib> [156 of 307] Compiling XMonad.Layout.TrackFloating > xmonad-contrib> [157 of 307] Compiling XMonad.Layout.StateFull > xmonad-contrib> [158 of 307] Compiling XMonad.Layout.Groups > xmonad-contrib> [159 of 307] Compiling XMonad.Layout.Groups.Helpers > xmonad-contrib> [160 of 307] Compiling XMonad.Layout.BoringWindows > xmonad-contrib> [161 of 307] Compiling XMonad.Layout.Minimize > xmonad-contrib> [162 of 307] Compiling XMonad.Hooks.RefocusLast > xmonad-contrib> [163 of 307] Compiling XMonad.Actions.WorkspaceCursors > xmonad-contrib> [164 of 307] Compiling XMonad.Actions.Sift > xmonad-contrib> [165 of 307] Compiling XMonad.Actions.RotateSome > xmonad-contrib> [166 of 307] Compiling XMonad.Util.StringProp > xmonad-contrib> [167 of 307] Compiling XMonad.Util.Timer > xmonad-contrib> [168 of 307] Compiling XMonad.Util.TreeZipper > xmonad-contrib> [169 of 307] Compiling XMonad.Actions.TreeSelect > xmonad-contrib> [170 of 307] Compiling XMonad.Util.Types > xmonad-contrib> [171 of 307] Compiling XMonad.Layout.Gaps > xmonad-contrib> [172 of 307] Compiling XMonad.Layout.Dwindle > xmonad-contrib> [173 of 307] Compiling XMonad.Actions.WindowNavigation > xmonad-contrib> [174 of 307] Compiling XMonad.Actions.MouseGestures > xmonad-contrib> [175 of 307] Compiling XMonad.Util.Ungrab > xmonad-contrib> [176 of 307] Compiling XMonad.Util.WindowState > xmonad-contrib> [177 of 307] Compiling XMonad.Util.WorkspaceCompare > xmonad-contrib> [178 of 307] Compiling XMonad.Actions.CycleWS > xmonad-contrib> [179 of 307] Compiling XMonad.Actions.SwapWorkspaces > xmonad-contrib> [180 of 307] Compiling XMonad.Actions.DynamicWorkspaceOrder > xmonad-contrib> [181 of 307] Compiling XMonad.Util.XSelection > xmonad-contrib> [182 of 307] Compiling XMonad.Prompt > xmonad-contrib> [183 of 307] Compiling XMonad.Prompt.Zsh > xmonad-contrib> [184 of 307] Compiling XMonad.Prompt.XMonad > xmonad-contrib> [185 of 307] Compiling XMonad.Prompt.Workspace > xmonad-contrib> [186 of 307] Compiling XMonad.Prompt.Unicode > xmonad-contrib> [187 of 307] Compiling XMonad.Prompt.Ssh > xmonad-contrib> [188 of 307] Compiling XMonad.Prompt.Shell > xmonad-contrib> [189 of 307] Compiling XMonad.Actions.WindowGo > xmonad-contrib> [190 of 307] Compiling XMonad.Prompt.RunOrRaise > xmonad-contrib> [191 of 307] Compiling XMonad.Prompt.Pass > xmonad-contrib> [192 of 307] Compiling XMonad.Prompt.OrgMode > xmonad-contrib> [193 of 307] Compiling XMonad.Prompt.Man > xmonad-contrib> [194 of 307] Compiling XMonad.Prompt.Layout > xmonad-contrib> [195 of 307] Compiling XMonad.Prompt.Input > xmonad-contrib> [196 of 307] Compiling XMonad.Prompt.Email > xmonad-contrib> [197 of 307] Compiling XMonad.Prompt.Directory > xmonad-contrib> [198 of 307] Compiling XMonad.Prompt.DirExec > xmonad-contrib> [199 of 307] Compiling XMonad.Prompt.ConfirmPrompt > xmonad-contrib> [200 of 307] Compiling XMonad.Prompt.AppendFile > xmonad-contrib> [201 of 307] Compiling XMonad.Prompt.AppLauncher > xmonad-contrib> [202 of 307] Compiling XMonad.Layout.WorkspaceDir > xmonad-contrib> [203 of 307] Compiling XMonad.Actions.TagWindows > xmonad-contrib> [204 of 307] Compiling XMonad.Util.WindowProperties > xmonad-contrib> [205 of 307] Compiling XMonad.Util.RemoteWindows > xmonad-contrib> [206 of 307] Compiling XMonad.Layout.Stoppable > xmonad-contrib> [207 of 307] Compiling XMonad.Layout.SortedLayout > xmonad-contrib> [208 of 307] Compiling XMonad.Layout.LayoutBuilder > xmonad-contrib> [209 of 307] Compiling XMonad.Layout.LayoutBuilderP > xmonad-contrib> [210 of 307] Compiling XMonad.Layout.IM > xmonad-contrib> [211 of 307] Compiling XMonad.Layout.Drawer > xmonad-contrib> [212 of 307] Compiling XMonad.Hooks.ManageHelpers > xmonad-contrib> [213 of 307] Compiling XMonad.Layout.Monitor > xmonad-contrib> [214 of 307] Compiling XMonad.Hooks.UrgencyHook > xmonad-contrib> [215 of 307] Compiling XMonad.Hooks.StatusBar.PP > xmonad-contrib> [216 of 307] Compiling XMonad.Util.Loggers > xmonad-contrib> [217 of 307] Compiling XMonad.Util.ClickableWorkspaces > xmonad-contrib> [218 of 307] Compiling XMonad.Layout.IndependentScreens > xmonad-contrib> [219 of 307] Compiling XMonad.Actions.LinkWorkspaces > xmonad-contrib> [220 of 307] Compiling > XMonad.Hooks.StatusBar.WorkspaceScreen > xmonad-contrib> [221 of 307] Compiling XMonad.Hooks.DynamicIcons > xmonad-contrib> [222 of 307] Compiling XMonad.Actions.CopyWindow > xmonad-contrib> [223 of 307] Compiling XMonad.Prompt.Window > xmonad-contrib> [224 of 307] Compiling XMonad.Actions.TopicSpace > xmonad-contrib> [225 of 307] Compiling XMonad.Hooks.Focus > xmonad-contrib> [226 of 307] Compiling XMonad.Hooks.ManageDocks > xmonad-contrib> [227 of 307] Compiling XMonad.Hooks.StatusBar > xmonad-contrib> [228 of 307] Compiling XMonad.Util.Hacks > xmonad-contrib> [229 of 307] Compiling XMonad.Hooks.DynamicLog > xmonad-contrib> [230 of 307] Compiling XMonad.Hooks.DynamicBars > xmonad-contrib> [231 of 307] Compiling XMonad.Actions.FloatSnap > xmonad-contrib> [232 of 307] Compiling XMonad.Hooks.EwmhDesktops > xmonad-contrib> [233 of 307] Compiling XMonad.Layout.Fullscreen > xmonad-contrib> [234 of 307] Compiling XMonad.Config.Desktop > xmonad-contrib> [235 of 307] Compiling XMonad.Config.Xfce > xmonad-contrib> [236 of 307] Compiling XMonad.Config.Mate > xmonad-contrib> [237 of 307] Compiling XMonad.Config.Kde > xmonad-contrib> [238 of 307] Compiling XMonad.Config.Gnome > xmonad-contrib> [239 of 307] Compiling XMonad.Actions.WorkspaceNames > xmonad-contrib> [240 of 307] Compiling XMonad.Actions.Minimize > xmonad-contrib> [241 of 307] Compiling XMonad.Hooks.Minimize > xmonad-contrib> [242 of 307] Compiling XMonad.Util.ExclusiveScratchpads > xmonad-contrib> [243 of 307] Compiling XMonad.Actions.SpawnOn > xmonad-contrib> [244 of 307] Compiling XMonad.Util.SpawnOnce > xmonad-contrib> [245 of 307] Compiling XMonad.Config.Dmwit > xmonad-contrib> [246 of 307] Compiling XMonad.Actions.Launcher > xmonad-contrib> [247 of 307] Compiling XMonad.Actions.DynamicWorkspaces > xmonad-contrib> [248 of 307] Compiling XMonad.Util.NamedScratchpad > xmonad-contrib> [249 of 307] Compiling XMonad.Util.Scratchpad > xmonad-contrib> [250 of 307] Compiling XMonad.Util.Loggers.NamedScratchpad > xmonad-contrib> [251 of 307] Compiling > XMonad.Actions.DynamicWorkspaceGroups > xmonad-contrib> [252 of 307] Compiling XMonad.Actions.DynamicProjects > xmonad-contrib> [253 of 307] Compiling XMonad.Actions.Search > xmonad-contrib> [254 of 307] Compiling XMonad.Util.XUtils > xmonad-contrib> [255 of 307] Compiling XMonad.Layout.WindowNavigation > xmonad-contrib> [256 of 307] Compiling XMonad.Layout.ComboP > xmonad-contrib> [257 of 307] Compiling XMonad.Layout.Combo > xmonad-contrib> [258 of 307] Compiling XMonad.Layout.ShowWName > xmonad-contrib> [259 of 307] Compiling XMonad.Layout.MouseResizableTile > xmonad-contrib> [260 of 307] Compiling XMonad.Layout.DragPane > xmonad-contrib> [261 of 307] Compiling XMonad.Layout.LayoutCombinators > xmonad-contrib> [262 of 307] Compiling XMonad.Layout.Decoration > xmonad-contrib> [263 of 307] Compiling XMonad.Util.Themes > xmonad-contrib> [264 of 307] Compiling XMonad.Prompt.Theme > xmonad-contrib> [265 of 307] Compiling XMonad.Layout.TallMastersCombo > xmonad-contrib> [266 of 307] Compiling XMonad.Layout.Tabbed > xmonad-contrib> [267 of 307] Compiling XMonad.Config.Sjanssen > xmonad-contrib> [268 of 307] Compiling XMonad.Config.Droundy > xmonad-contrib> [269 of 307] Compiling XMonad.Layout.SubLayouts > xmonad-contrib> [270 of 307] Compiling XMonad.Hooks.WindowSwallowing > xmonad-contrib> [271 of 307] Compiling XMonad.Layout.SimpleDecoration > xmonad-contrib> [272 of 307] Compiling XMonad.Layout.ResizeScreen > xmonad-contrib> [273 of 307] Compiling XMonad.Layout.TabBarDecoration > xmonad-contrib> [274 of 307] Compiling > XMonad.Layout.MultiToggle.TabBarDecoration > xmonad-contrib> [275 of 307] Compiling XMonad.Layout.NoFrillsDecoration > xmonad-contrib> [276 of 307] Compiling XMonad.Layout.LayoutHints > xmonad-contrib> [277 of 307] Compiling XMonad.Layout.Groups.Examples > xmonad-contrib> [278 of 307] Compiling XMonad.Layout.Groups.Wmii > xmonad-contrib> [279 of 307] Compiling XMonad.Layout.FixedAspectRatio > xmonad-contrib> [280 of 307] Compiling XMonad.Layout.DwmStyle > xmonad-contrib> [281 of 307] Compiling XMonad.Hooks.PositionStoreHooks > xmonad-contrib> [282 of 307] Compiling XMonad.Actions.GridSelect > xmonad-contrib> [283 of 307] Compiling XMonad.Actions.WindowMenu > xmonad-contrib> [284 of 307] Compiling XMonad.Layout.DecorationAddons > xmonad-contrib> [285 of 307] Compiling XMonad.Layout.ImageButtonDecoration > xmonad-contrib> [286 of 307] Compiling > XMonad.Layout.WindowSwitcherDecoration > xmonad-contrib> [287 of 307] Compiling XMonad.Layout.ButtonDecoration > xmonad-contrib> [288 of 307] Compiling XMonad.Layout.BorderResize > xmonad-contrib> [289 of 307] Compiling XMonad.Config.Bluetile > xmonad-contrib> [290 of 307] Compiling XMonad.Layout.BinarySpacePartition > xmonad-contrib> [291 of 307] Compiling XMonad.Hooks.ShowWName > xmonad-contrib> [292 of 307] Compiling XMonad.Actions.Submap > xmonad-contrib> [293 of 307] Compiling XMonad.Util.NamedActions > xmonad-contrib> [294 of 307] Compiling XMonad.Util.EZConfig > xmonad-contrib> [295 of 307] Compiling XMonad.Util.Paste > xmonad-contrib> [296 of 307] Compiling XMonad.Actions.KeyRemap > xmonad-contrib> [297 of 307] Compiling XMonad.Hooks.Modal > xmonad-contrib> [298 of 307] Compiling XMonad.Hooks.ManageDebug > xmonad-contrib> [299 of 307] Compiling XMonad.Config.Prime > xmonad-contrib> [300 of 307] Compiling XMonad.Actions.Navigation2D > xmonad-contrib> [301 of 307] Compiling XMonad.Actions.Prefix > xmonad-contrib> [302 of 307] Compiling XMonad.Actions.ShowText > xmonad-contrib> [303 of 307] Compiling XMonad.Actions.MouseResize > xmonad-contrib> [304 of 307] Compiling XMonad.Layout.SimpleFloat > xmonad-contrib> [305 of 307] Compiling XMonad.Config.Arossato > xmonad-contrib> [306 of 307] Compiling XMonad.Layout.DecorationMadness > xmonad-contrib> [307 of 307] Compiling XMonad.Actions.EasyMotion > Completed 2 action(s). > Prelude.chr: bad argument: 1744830475 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- brandon s allbery kf8nh allbery.b at gmail.com From alainbe at free.fr Wed Jul 20 15:23:27 2022 From: alainbe at free.fr (Alain Bertrand) Date: Wed, 20 Jul 2022 17:23:27 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> Message-ID: Tried with Cabal. alain at keitai-kun:~/.config/xmonad$ ~/.cabal/bin/xmonad --recompile XMonad will use ghc to recompile, because neither "/home/alain/.config/xmonad/build" nor "/home/alain/.config/xmonad/stack.yaml " exists. XMonad recompiling (forced). Errors detected while compiling xmonad config: /home/alain/.config/xmonad/xmonad.hs $ ghc --make xmonad.hs -i -ilib -fforce-recomp -main-is main -v0 -outputdir /home/alain/.cache/xmonad/build-x86_64-linux -o /ho me/alain/.cache/xmonad/xmonad-x86_64-linux xmonad.hs:5:2: error:    Could not load module ‘Graphics.X11.Xlib’    It is a member of the hidden package ‘X11-1.10.2’.    You can run ‘:set -package X11’ to expose it.    (Note: this unloads all the modules in the current scope.)    Use -v (or `:set -v` in ghci) to see a list of the files searched for.  | 5 |  import Graphics.X11.Xlib  |  ^^^^^^^^^^^^^^^^^^^^^^^^ Please check the file for errors. I am ok with ':set -package X11’ but couldn't find the right syntax. Alain On 20/07/2022 15:58, Brandon Allbery wrote: > Oh my. That suggests the corruption is in your main .stack while > trying to register the built packages. But at this point I have to > hand you off to someone who knows stack better than I do. From allbery.b at gmail.com Wed Jul 20 16:53:34 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 20 Jul 2022 12:53:34 -0400 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> Message-ID: The error message is, weirdly, giving a suggestion only valid in ghci. What you actually need to do is `cabal install --lib X11`, and similarly for any other packages it reports. On Wed, Jul 20, 2022, 11:23 Alain Bertrand wrote: > Tried with Cabal. > > alain at keitai-kun:~/.config/xmonad$ ~/.cabal/bin/xmonad --recompile > XMonad will use ghc to recompile, because neither > "/home/alain/.config/xmonad/build" nor > "/home/alain/.config/xmonad/stack.yaml > " exists. > XMonad recompiling (forced). > Errors detected while compiling xmonad config: > /home/alain/.config/xmonad/xmonad.hs > $ ghc --make xmonad.hs -i -ilib -fforce-recomp -main-is main -v0 > -outputdir /home/alain/.cache/xmonad/build-x86_64-linux -o /ho > me/alain/.cache/xmonad/xmonad-x86_64-linux > > xmonad.hs:5:2: error: > Could not load module ‘Graphics.X11.Xlib’ > It is a member of the hidden package ‘X11-1.10.2’. > You can run ‘:set -package X11’ to expose it. > (Note: this unloads all the modules in the current scope.) > Use -v (or `:set -v` in ghci) to see a list of the files searched for. > | > 5 | import Graphics.X11.Xlib > | ^^^^^^^^^^^^^^^^^^^^^^^^ > > Please check the file for errors. > > I am ok with ':set -package X11’ but couldn't find the right syntax. > > > Alain > On 20/07/2022 15:58, Brandon Allbery wrote: > > Oh my. That suggests the corruption is in your main .stack while > > trying to register the built packages. But at this point I have to > > hand you off to someone who knows stack better than I do. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alainbe at free.fr Wed Jul 20 19:53:11 2022 From: alainbe at free.fr (Alain Bertrand) Date: Wed, 20 Jul 2022 21:53:11 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> Message-ID: <3891770b-9e29-601f-b8da-2dacb3b85dfc@free.fr> On 20/07/2022 18:53, Brandon Allbery wrote: > `cabal install --lib X11 alain at keitai-kun:~/.cabal$ cabal install --lib X11 Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.0.1.0 supports 'ghc' version < 8.10): /usr/bin/ghc is version 9.0.2 Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.0.1.0 supports 'ghc' version < 8.10): /usr/bin/ghc is version 9.0.2 Resolving dependencies... Up to date alain at keitai-kun:~/.config/xmonad$ ~/.cabal/bin/xmonad --recompile XMonad will use ghc to recompile, because neither "/home/alain/.config/xmonad/build" nor "/home/alain/.config/xmonad/stack.yaml " exists. XMonad recompiling (forced). Errors detected while compiling xmonad config: /home/alain/.config/xmonad/xmonad.hs $ ghc --make xmonad.hs -i -ilib -fforce-recomp -main-is main -v0 -outputdir /home/alain/.cache/xmonad/build-x86_64-linux -o /ho me/alain/.cache/xmonad/xmonad-x86_64-linux xmonad.hs:5:2: error:    Could not load module ‘Graphics.X11.Xlib’    It is a member of the hidden package ‘X11-1.10.2’.    You can run ‘:set -package X11’ to expose it.    (Note: this unloads all the modules in the current scope.)    Use -v (or `:set -v` in ghci) to see a list of the files searched for.  | 5 |  import Graphics.X11.Xlib  |  ^^^^^^^^^^^^^^^^^^^^^^^^ Interestingly, alain at keitai-kun:~/.cabal$ find ~/.cabal/ -iname "*Graphics.X11*" doesn't return anything. Alain From allbery.b at gmail.com Wed Jul 20 20:07:07 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 20 Jul 2022 16:07:07 -0400 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: <3891770b-9e29-601f-b8da-2dacb3b85dfc@free.fr> References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> <3891770b-9e29-601f-b8da-2dacb3b85dfc@free.fr> Message-ID: On Wed, Jul 20, 2022 at 3:53 PM Alain Bertrand 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:~/.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 From alainbe at free.fr Wed Jul 20 20:39:57 2022 From: alainbe at free.fr (Alain Bertrand) Date: Wed, 20 Jul 2022 22:39:57 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> <3891770b-9e29-601f-b8da-2dacb3b85dfc@free.fr> Message-ID: On 20/07/2022 22:07, Brandon Allbery wrote: > On Wed, Jul 20, 2022 at 3:53 PM Alain Bertrand 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.) From allbery.b at gmail.com Wed Jul 20 20:45:59 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 20 Jul 2022 16:45:59 -0400 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> <3891770b-9e29-601f-b8da-2dacb3b85dfc@free.fr> Message-ID: You ran it in ~/.cabal so that (or ~/.ghc//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 wrote: > > On 20/07/2022 22:07, Brandon Allbery wrote: > > On Wed, Jul 20, 2022 at 3:53 PM Alain Bertrand 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 From alainbe at free.fr Thu Jul 21 08:58:39 2022 From: alainbe at free.fr (Alain Bertrand) Date: Thu, 21 Jul 2022 10:58:39 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> <3891770b-9e29-601f-b8da-2dacb3b85dfc@free.fr> Message-ID: On 20/07/2022 22:45, Brandon Allbery wrote: > You ran it in ~/.cabal so that (or ~/.ghc//environments) is > where the environment file will have been written. Rerun it from your > xmonad directory. Figured it out. `cabal install --lib X11` should be run at the same time as you build xmonad and xmonad-contrib. `cabal install --package-env=$HOME/.config/xmonad --lib xmonad xmonad-contrib  X11` I have still errors during the compilation: xmonad.hs:52:46: error:    • Variable not in scope: defaultXPConfig :: XPConfig    • Perhaps you meant ‘defaultConfig’ (imported from XMonad)   | 52 |              [ ((modm, xK_F12), xmonadPrompt defaultXPConfig)   |                                              ^^^^^^^^^^^^^^^ xmonad.hs:53:46: error:    • Variable not in scope: defaultXPConfig :: XPConfig    • Perhaps you meant ‘defaultConfig’ (imported from XMonad)   | 53 |              , ((modm, xK_F3 ), shellPrompt  defaultXPConfig)   |                                              ^^^^^^^^^^^^^^^ I have tried to replace defaultXPConfig by defaultConfig but it didn't work. xmonad.hs is below Best regards, Alain import XMonad import XMonad.Hooks.SetWMName import XMonad.Hooks.ManageDocks import qualified Data.Map as M import Graphics.X11.Xlib import XMonad.Config.Azerty import XMonad.Prompt import XMonad.Prompt.Shell import XMonad.Prompt.XMonad import XMonad.Actions.SpawnOn import XMonad.Layout.Spiral myStartUpHook :: X () myStartUpHook = do        spawnOn "panel" "xfce4-panel"        spawnOn "bg" "feh --bg-tile /usr/share/WindowMaker/Backgrounds/BlueImage.jpeg" --        spawnOn "clavier" "/home/alain/bin/clavier_conf" --        spawnOn "1" "/usr/bin/firefox"        spawnOn "1" "/usr/bin/thunderbird" --        spawnOn "workspace7" "/usr/bin/transmission-gtk" --      spawnOn "akonadi" "akonadictl start"        setWMName "LG3D" myLayoutHook = avoidStruts  ( Full ||| spiral (6/7)  ||| Tall 1 0.03 0.5)     -- sets default tile as: Tall nmaster (delta) (golden ratio)    --    -- main=do   xmonad  $ docks def     {     layoutHook = avoidStruts $ (spiral (6/7) ||| layoutHook defaultConfig)     , manageHook=manageHook defaultConfig <+> manageDocks     , modMask = mod4Mask     , keys = myKeys <+> keys azertyConfig     , startupHook = myStartUpHook     } -- main=do -- xmonad { keys = myKeys <+> keys azertyConfig } --     { --     layoutHook=avoidStruts $ layoutHook defaultConfig --     , manageHook=manageHook defaultConfig <+> manageDocks --     , startupHook = setWMName "LG3D" --     } -- -- myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList             [ ((modm, xK_F12), xmonadPrompt defaultXPConfig)             , ((modm, xK_F3 ), shellPrompt  defaultXPConfig)             ] From allbery.b at gmail.com Thu Jul 21 11:38:14 2022 From: allbery.b at gmail.com (Brandon Allbery) Date: Thu, 21 Jul 2022 07:38:14 -0400 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <69b48ca3-83ac-af0a-0b3c-5400f1218aa3@free.fr> <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> <3891770b-9e29-601f-b8da-2dacb3b85dfc@free.fr> Message-ID: All the various `default…` are being replaced by `def` which is polymorphic. `defaultConfig` will follow them at some point, so you might as well change that to `def` now as well. On Thu, Jul 21, 2022 at 4:58 AM Alain Bertrand wrote: > > On 20/07/2022 22:45, Brandon Allbery wrote: > > You ran it in ~/.cabal so that (or ~/.ghc//environments) is > > where the environment file will have been written. Rerun it from your > > xmonad directory. > > Figured it out. > > `cabal install --lib X11` should be run at the same time as you build > xmonad and xmonad-contrib. > > `cabal install --package-env=$HOME/.config/xmonad --lib xmonad > xmonad-contrib X11` > > > I have still errors during the compilation: > > > xmonad.hs:52:46: error: > • Variable not in scope: defaultXPConfig :: XPConfig > • Perhaps you meant ‘defaultConfig’ (imported from XMonad) > | > 52 | [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) > | ^^^^^^^^^^^^^^^ > > xmonad.hs:53:46: error: > • Variable not in scope: defaultXPConfig :: XPConfig > • Perhaps you meant ‘defaultConfig’ (imported from XMonad) > | > 53 | , ((modm, xK_F3 ), shellPrompt defaultXPConfig) > | ^^^^^^^^^^^^^^^ > > I have tried to replace defaultXPConfig by defaultConfig but it didn't work. > > xmonad.hs is below > > > Best regards, > > > Alain > > > import XMonad > import XMonad.Hooks.SetWMName > import XMonad.Hooks.ManageDocks > import qualified Data.Map as M > import Graphics.X11.Xlib > import XMonad.Config.Azerty > import XMonad.Prompt > import XMonad.Prompt.Shell > import XMonad.Prompt.XMonad > import XMonad.Actions.SpawnOn > import XMonad.Layout.Spiral > > myStartUpHook :: X () > myStartUpHook = do > spawnOn "panel" "xfce4-panel" > spawnOn "bg" "feh --bg-tile > /usr/share/WindowMaker/Backgrounds/BlueImage.jpeg" > > -- spawnOn "clavier" "/home/alain/bin/clavier_conf" > -- spawnOn "1" "/usr/bin/firefox" > spawnOn "1" "/usr/bin/thunderbird" > -- spawnOn "workspace7" "/usr/bin/transmission-gtk" > -- spawnOn "akonadi" "akonadictl start" > setWMName "LG3D" > > > myLayoutHook = avoidStruts ( Full ||| spiral (6/7) ||| Tall 1 0.03 0.5) > > -- sets default tile as: Tall nmaster (delta) (golden ratio) > -- > -- > main=do > xmonad $ docks def > { > layoutHook = avoidStruts $ (spiral (6/7) ||| layoutHook defaultConfig) > , manageHook=manageHook defaultConfig <+> manageDocks > , modMask = mod4Mask > , keys = myKeys <+> keys azertyConfig > , startupHook = myStartUpHook > } > > > -- main=do > -- xmonad { keys = myKeys <+> keys azertyConfig } > -- { > -- layoutHook=avoidStruts $ layoutHook defaultConfig > -- , manageHook=manageHook defaultConfig <+> manageDocks > -- , startupHook = setWMName "LG3D" > -- } > -- > -- > myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList > [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) > , ((modm, xK_F3 ), shellPrompt defaultXPConfig) > ] > > > -- brandon s allbery kf8nh allbery.b at gmail.com From alainbe at free.fr Thu Jul 21 12:30:22 2022 From: alainbe at free.fr (Alain Bertrand) Date: Thu, 21 Jul 2022 14:30:22 +0200 Subject: [xmonad] Errors building Xmonad using Stack In-Reply-To: References: <3183cb42-f535-acbc-4556-646300f84f23@free.fr> <97476349-1fd4-974a-3d16-cd7e6d56847e@free.fr> <108306c9-427f-fce9-4623-e7de6f9dd1a4@free.fr> <3891770b-9e29-601f-b8da-2dacb3b85dfc@free.fr> Message-ID: <95c899e3-e748-ea9a-7332-a0f889e085dc@free.fr> Thanks, In fact I was just reading https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.17.0/XMonad-Prompt-Shell.html when I found your mail. alain at keitai-kun:~/.config/xmonad$ Error: Can't open display: xmonad --recompile XMonad will use ghc to recompile, because neither "/home/alain/.config/xmonad/build" nor "/home/alain/.config/xmonad/stack.yaml" ex ists. XMonad recompiling (forced). XMonad recompilation process exited with success! Thanks for all the help. Best regards, Alain On 21/07/2022 13:38, Brandon Allbery wrote: > All the various `default…` are being replaced by `def` which is > polymorphic. `defaultConfig` will follow them at some point, so you > might as well change that to `def` now as well. > > On Thu, Jul 21, 2022 at 4:58 AM Alain Bertrand wrote: >> On 20/07/2022 22:45, Brandon Allbery wrote: >>> You ran it in ~/.cabal so that (or ~/.ghc//environments) is >>> where the environment file will have been written. Rerun it from your >>> xmonad directory. >> Figured it out. >> >> `cabal install --lib X11` should be run at the same time as you build >> xmonad and xmonad-contrib. >> >> `cabal install --package-env=$HOME/.config/xmonad --lib xmonad >> xmonad-contrib X11` >> >> >> I have still errors during the compilation: >> >> >> xmonad.hs:52:46: error: >> • Variable not in scope: defaultXPConfig :: XPConfig >> • Perhaps you meant ‘defaultConfig’ (imported from XMonad) >> | >> 52 | [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) >> | ^^^^^^^^^^^^^^^ >> >> xmonad.hs:53:46: error: >> • Variable not in scope: defaultXPConfig :: XPConfig >> • Perhaps you meant ‘defaultConfig’ (imported from XMonad) >> | >> 53 | , ((modm, xK_F3 ), shellPrompt defaultXPConfig) >> | ^^^^^^^^^^^^^^^ >> >> I have tried to replace defaultXPConfig by defaultConfig but it didn't work. >> >> xmonad.hs is below >> >> >> Best regards, >> >> >> Alain >> >> >> import XMonad >> import XMonad.Hooks.SetWMName >> import XMonad.Hooks.ManageDocks >> import qualified Data.Map as M >> import Graphics.X11.Xlib >> import XMonad.Config.Azerty >> import XMonad.Prompt >> import XMonad.Prompt.Shell >> import XMonad.Prompt.XMonad >> import XMonad.Actions.SpawnOn >> import XMonad.Layout.Spiral >> >> myStartUpHook :: X () >> myStartUpHook = do >> spawnOn "panel" "xfce4-panel" >> spawnOn "bg" "feh --bg-tile >> /usr/share/WindowMaker/Backgrounds/BlueImage.jpeg" >> >> -- spawnOn "clavier" "/home/alain/bin/clavier_conf" >> -- spawnOn "1" "/usr/bin/firefox" >> spawnOn "1" "/usr/bin/thunderbird" >> -- spawnOn "workspace7" "/usr/bin/transmission-gtk" >> -- spawnOn "akonadi" "akonadictl start" >> setWMName "LG3D" >> >> >> myLayoutHook = avoidStruts ( Full ||| spiral (6/7) ||| Tall 1 0.03 0.5) >> >> -- sets default tile as: Tall nmaster (delta) (golden ratio) >> -- >> -- >> main=do >> xmonad $ docks def >> { >> layoutHook = avoidStruts $ (spiral (6/7) ||| layoutHook defaultConfig) >> , manageHook=manageHook defaultConfig <+> manageDocks >> , modMask = mod4Mask >> , keys = myKeys <+> keys azertyConfig >> , startupHook = myStartUpHook >> } >> >> >> -- main=do >> -- xmonad { keys = myKeys <+> keys azertyConfig } >> -- { >> -- layoutHook=avoidStruts $ layoutHook defaultConfig >> -- , manageHook=manageHook defaultConfig <+> manageDocks >> -- , startupHook = setWMName "LG3D" >> -- } >> -- >> -- >> myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList >> [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) >> , ((modm, xK_F3 ), shellPrompt defaultXPConfig) >> ] >> >> >> >