From: Eric Bavier <ericbavier@openmailbox.org>
To: "Ludovic Courtès" <ludo@gnu.org>, "Siniša Biđin" <sinisa@bidin.eu>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 12/13] gnu: Add xmonad.
Date: Fri, 11 Sep 2015 03:38:13 -0500 [thread overview]
Message-ID: <20150911033813.410d1d97@openmailbox.org> (raw)
In-Reply-To: <87si6z5ubf.fsf@gnu.org>
On Mon, 31 Aug 2015 17:52:36 +0200
ludo@gnu.org (Ludovic Courtès) wrote:
> Siniša Biđin <sinisa@bidin.eu> skribis:
>
> > On 2015-08-23 22:47, Eric Bavier wrote:
> >> I had to replace "Exec=/etc/X11/Session/xmonad" with "Exec=xmonad"
> >> in this xmonad.desktop file in order to launch an xmonad session from
> >> Slim. Does this seem right?
> >
> > Definitely!
>
> [...]
>
> >> Does it make sense to fetch this file
> >> from gentoo.org and then modify it? or should we rather just
> >> generate it
> >> ourselves? What do you/others think?
> >
> > I had followed ratpoison's example (also using gentoo.org), but it does
> > feel dirty. I'm fine with generating it or having it stored in guix's
> > repo,
> > but couldn't find an example of any other package doing the same.
>
> I think “generating” it (or having it as a string literal) in the source
> is preferable.
>
> >>> + (propagated-inputs
> >>> + `(("ghc-mtl" ,ghc-mtl)
> >>> + ("ghc-utf8-string" ,ghc-utf8-string)
> >>> + ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
> >>> + ("ghc-x11" ,ghc-x11)))
> >>
> >> Do these inputs need to be propagated? I can start up an xmonad
> >> session without propagating these inputs. Do they need to be available
> >> for xmonad's 'mod-q' (i.e. restarting xmonad/loading a new config)?
> >
> > I think so, yes. For one, since xmonad is an executable and a library,
> > if
> > we don't propagate, "ghc-pkg list" will report it as broken.
>
> Makes sense to me.
>
> Could you post an updated patch that addresses these two things?
I've pushed a modified commit that generates the .desktop files for
xmonad, and adds the package instead to gnu/packages/wm.scm.
This Xmonad's mod-q does not work as expected, but that isn't a problem
if you like the default configuration ;). Anyhow, some more work will
need to be done to support reconfiguration. I had thought
GHC_PACKAGE_PATH would do what we need, but it doesn't seem to do what
I had thought. Perhaps creating a custom package database for xmonad
to use would work.
Thanks again for the patch, and sorry for the delay in getting it
pushed!
`~Eric
next prev parent reply other threads:[~2015-09-11 13:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-18 20:40 [PATCH 00/13] Add xmonad, xmonad-contrib and dependencies Siniša Biđin
2015-08-18 20:40 ` [PATCH 01/13] gnu: Add ghc-data-default-class Siniša Biđin
2015-08-18 20:40 ` [PATCH 02/13] gnu: Add ghc-data-default-instances-base Siniša Biđin
2015-08-18 20:40 ` [PATCH 03/13] gnu: Add ghc-data-default-instances-containers Siniša Biđin
2015-08-23 21:07 ` Eric Bavier
2015-08-18 20:40 ` [PATCH 04/13] gnu: Add ghc-data-default-instances-old-locale Siniša Biđin
2015-08-18 20:40 ` [PATCH 05/13] gnu: Add ghc-dlist Siniša Biđin
2015-08-18 20:40 ` [PATCH 06/13] gnu: Add ghc-extensible-exceptions Siniša Biđin
2015-08-18 20:40 ` [PATCH 07/13] gnu: Add ghc-data-default-instances-dlist Siniša Biđin
2015-08-23 21:09 ` Eric Bavier
2015-08-18 20:40 ` [PATCH 08/13] gnu: Add ghc-utf8-string Siniša Biđin
2015-08-18 20:40 ` [PATCH 09/13] gnu: Add ghc-data-default Siniša Biđin
2015-08-18 20:40 ` [PATCH 10/13] gnu: Add ghc-x11 Siniša Biđin
2015-08-23 21:11 ` Eric Bavier
2015-08-18 20:40 ` [PATCH 11/13] gnu: Add ghc-x11-xft Siniša Biđin
2015-08-23 21:12 ` Eric Bavier
2015-08-18 20:40 ` [PATCH 12/13] gnu: Add xmonad Siniša Biđin
2015-08-23 20:47 ` Eric Bavier
2015-08-24 3:00 ` Siniša Biđin
2015-08-31 15:52 ` Ludovic Courtès
2015-08-31 22:02 ` Eric Bavier
2015-09-11 8:38 ` Eric Bavier [this message]
2015-09-12 14:05 ` Siniša Biđin
2015-08-18 20:40 ` [PATCH 13/13] gnu: Add ghc-xmonad-contrib Siniša Biđin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150911033813.410d1d97@openmailbox.org \
--to=ericbavier@openmailbox.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
--cc=sinisa@bidin.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.