From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: propagating inputs in ghc-* packages Date: Fri, 30 Sep 2016 23:07:47 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq527-00015M-PV for guix-devel@gnu.org; Fri, 30 Sep 2016 17:07:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq525-00075n-Al for guix-devel@gnu.org; Fri, 30 Sep 2016 17:07:50 -0400 Received: from mail-vk0-x242.google.com ([2607:f8b0:400c:c05::242]:34850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq525-00074f-53 for guix-devel@gnu.org; Fri, 30 Sep 2016 17:07:49 -0400 Received: by mail-vk0-x242.google.com with SMTP id 192so4331014vkl.2 for ; Fri, 30 Sep 2016 14:07:48 -0700 (PDT) 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: rekado@elephly.net Cc: Guix-devel Ricardo Wurmus writes: > Hi Guix, > > I=E2=80=99m in the middle of upgrading our Haskell packages. (Actually, = I=E2=80=99m > just yak shaving. I need =E2=80=9Cpandoc-citeproc=E2=80=9D for =E2=80=9C= r-knitr=E2=80=9D=E2=80=A6) > > 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=E2=80=99m not sure we actually need to propagate a= nything > at all. Could someone please confirm this? >From what I recall, binary executables include references to packages, but libraries do not. So, at least at the time I wrote the first version of the haskell-build-system, propagated inputs seemed to be necessary for packages providing libraries, but not for ones providing applications. Regards, Fede