From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Sini=C5=A1a_Bi=C4=91in?= Subject: Re: [PATCH 12/13] gnu: Add xmonad. Date: Mon, 24 Aug 2015 05:00:03 +0200 Message-ID: <5edb43e2e6528f1b73be2dc115907b68@bidin.eu> References: <1439930415-16938-1-git-send-email-sinisa@bidin.eu> <1439930415-16938-13-git-send-email-sinisa@bidin.eu> <20150823154729.4dd46618@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZThzV-0001mh-Jz for guix-devel@gnu.org; Sun, 23 Aug 2015 23:00:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZThzS-0006zu-FK for guix-devel@gnu.org; Sun, 23 Aug 2015 23:00:09 -0400 Received: from bidin.eu ([5.101.99.211]:59785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZThzS-0006uN-7H for guix-devel@gnu.org; Sun, 23 Aug 2015 23:00:06 -0400 In-Reply-To: <20150823154729.4dd46618@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Eric Bavier Cc: guix-devel@gnu.org On 2015-08-23 22:47, Eric Bavier wrote: > I had to replace "Exec=3D/etc/X11/Session/xmonad" with "Exec=3Dxmonad" > 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=20 > 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=20 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))) >=20 > 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,=20 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=C5=A1a