From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#26170: documentation: Explanation of propagated-inputs unclear Date: Sun, 19 Mar 2017 08:03:32 +0100 Message-ID: <03214f18-23c3-3879-0be3-f1abb95abcea@pelzflorian.de> 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]:48058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpUsn-0004IJ-Cj for bug-guix@gnu.org; Sun, 19 Mar 2017 03:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpUsk-0001HT-5J for bug-guix@gnu.org; Sun, 19 Mar 2017 03:04:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cpUsk-0001HP-2Y for bug-guix@gnu.org; Sun, 19 Mar 2017 03:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cpUsj-0008D9-RW for bug-guix@gnu.org; Sun, 19 Mar 2017 03:04:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpUsN-0004HZ-0M for bug-guix@gnu.org; Sun, 19 Mar 2017 03:03:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpUsJ-0001Aq-Pu for bug-guix@gnu.org; Sun, 19 Mar 2017 03:03:39 -0400 Received: from pelzflorian.de ([5.45.111.108]:51144 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpUsJ-0001Af-Fd for bug-guix@gnu.org; Sun, 19 Mar 2017 03:03:35 -0400 Received: from [192.168.178.30] (ip5f58bf63.dynamic.kabel-deutschland.de [95.88.191.99]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 12F5F36000F for ; Sun, 19 Mar 2017 08:03:33 +0100 (CET) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26170@debbugs.gnu.org Hello, I presume the difference between a package=E2=80=99s `inputs` and `propagated-inputs` in Guix packages is that propagated inputs get installed to a Guix profile whenever the package is installed while inputs are dependencies that remain in the Store. I presume libraries the packaged program is linked to do not need to go to `propagated-inputs` because the program is linked to the files in the Sto= re. For more context, I am attempting to package the GNOME Evolution mail client which looks for evolution-data-server=E2=80=99s share/dbus-1/services/org.gnome.evolution.dataserver.Sources.service at run time and thus should use it as a propagated input (I believe). I am however confused by `info guix` where I find explanations like =E2=80=9CLastly, =E2=80=98propagated-inputs=E2=80=99 is similar to =E2=80= =98inputs=E2=80=99, but the specified packages will be automatically installed alongside the package they belong to (*note =E2=80=98guix package=E2=80=99= : package-cmd-propagated-inputs, for information on how =E2=80=98= guix package=E2=80=99 deals with propagated inputs.)=E2=80=9D and =E2=80=9CSometimes packages have =E2=80=9Cpropagated inputs=E2=80=9D: the= se are dependencies that automatically get installed along with the required package (*note =E2=80=98propagated-inputs=E2=80=99 in =E2=80=98package=E2=80= =99 objects: package-propagated-inputs, for information about propagated inputs in package definitions).=E2=80=9C I suggest mentioning more explicitly 1) that `propagated-inputs` are automatically installed *to the Guix profile* and not just the Store like regular inputs and 2) that C/C++ libraries do not need to be propagated because they can just as well be loaded from the Store *unless* their header files are included by header files of another input package (?) and 3) more examples like the above example for GNOME Evolution (which however I have yet to finish packaging and submit as a patch; maybe dconf is a better example =E2=80=93 I presume it is also needed at run ti= me and not just). This would have made the purpose of `propagated-inputs` easier to understand. Regards, Florian