From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] gnu: xmonad: Add missing propagated input. Date: Wed, 11 Jan 2017 09:25:02 +0100 Message-ID: <87ziiyypep.fsf@elephly.net> References: <1adf5de996d4bf21362c97110f574565@openmailbox.org> <87r34ey21f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cREDf-0000UR-3u for guix-devel@gnu.org; Wed, 11 Jan 2017 03:25:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cREDe-0007lx-5L for guix-devel@gnu.org; Wed, 11 Jan 2017 03:25:19 -0500 In-reply-to: <87r34ey21f.fsf@gnu.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" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: =?utf-8?Q?Jos=C3=A9?= Miguel =?utf-8?Q?S=C3=A1nchez_Garc=C3=ADa?= , guix-devel@gnu.org Ludovic Courtès writes: > José Miguel Sánchez García skribis: > >> xmonad package needs some love, and this is the first step. ghc should >> be a >> propagated input, because it's needed for certain commands such as >> xmonad --recompile. > > Instead of propagating it, would it be possible to hard-code the > absolute file name of ‘ghc’ inside the xmonad source? > > That would avoid pulling in GHC in the user’s profile, which could > conflict with the user’s GHC. Could we avoid all of this if we encouraged users to also install whichever version of GHC they liked best? Propagation seems bad here and hard-coding a particular version of GHC in the store also doesn’t quite seem right to me. If a user wants to use a different GHC with libraries that are only available with their particular version of GHC to reconfigure xmonad then I think it’s best to just leave the decision up to the user. The user decides by installing their desired version of GHC into their profile. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC http://elephly.net