From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: propagating inputs in ghc-* packages Date: Sun, 02 Oct 2016 13:59:46 +0200 Message-ID: <87mvin2c7h.fsf@elephly.net> References: <87oa35spxl.fsf@elephly.net> <721e3b2f0b9accb7f7efc59722baa77e@openmailbox.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]:59793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqjNt-0004Sx-B2 for guix-devel@gnu.org; Sun, 02 Oct 2016 12:13:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqjNs-0007r1-D6 for guix-devel@gnu.org; Sun, 02 Oct 2016 12:13:01 -0400 In-reply-to: <721e3b2f0b9accb7f7efc59722baa77e@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" To: Eric Bavier Cc: guix-devel , Guix-devel Eric Bavier writes: > Hello Ricardo, > > On 2016-09-30 04:24, Ricardo Wurmus wrote: >> Hi Guix, >> >> I’m in the middle of upgrading our Haskell packages. (Actually, I’m >> just yak shaving. I need “pandoc-citeproc” for “r-knitr”…) >> >> I noticed that upgrading Haskell packages is a pain in the neck because >> of propagated inputs. It seems that not all packages have fully >> declared dependencies and just work accidentally because of propagated >> inputs of a related package. This also makes upgrades more difficult >> because I can get substitutes from Hydra that depend on older versions >> of some Haskell packages. >> >> It looks like Haskell binaries actually embed references to other >> Haskell packages, so I’m not sure we actually need to propagate >> anything >> at all. Could someone please confirm this? > > Commit e17d513381296b (from almost a year ago!) was intended to allow us > to remove propagated inputs from our ghc-* packages. But I didn't > follow-up at the time, for reasons I forget now, in actually > un-propagating those inputs. So if you want to try to do that, it might > just work. Thank you! That’s excellent. Commit 2d47cee25b8bb31d22e6803f1cb3e1679641e14a removes all propagation from haskell.scm. I rebuilt all packages and tested that things still work using “ghc-pandoc” both as an executable and as a library. ~~ Ricardo