unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Siniša Biđin" <sinisa@bidin.eu>
To: Eric Bavier <ericbavier@openmailbox.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 12/13] gnu: Add xmonad.
Date: Mon, 24 Aug 2015 05:00:03 +0200	[thread overview]
Message-ID: <5edb43e2e6528f1b73be2dc115907b68@bidin.eu> (raw)
In-Reply-To: <20150823154729.4dd46618@openmailbox.org>

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!

I didn't test it thoroughly enough: I've been running xmonad via an
xsession file and managed to accidentally avoid the issue.

> 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.

>> +    (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. Manually
calling "ghc --make" on xmonad.hs (or other modules using XMonad) will
fail, and I'm assuming mod-q will also (but I confess I haven't tested:
I felt avoiding a broken package in ghc's package database was enough of
a reason for propagating the dependencies).

Siniša

  reply	other threads:[~2015-08-24  3:00 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 [this message]
2015-08-31 15:52       ` Ludovic Courtès
2015-08-31 22:02         ` Eric Bavier
2015-09-11  8:38         ` Eric Bavier
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

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

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

  git send-email \
    --in-reply-to=5edb43e2e6528f1b73be2dc115907b68@bidin.eu \
    --to=sinisa@bidin.eu \
    --cc=ericbavier@openmailbox.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).