From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: good overview presentation? Date: Fri, 10 May 2019 08:15:37 +0100 Message-ID: <871s16ok4m.fsf@cbaines.net> References: <4009641b-f771-1095-435b-80aed6c279c6@meetinghouse.net> <875zqjoa3k.fsf@cbaines.net> <2f3da087-041c-8053-69e7-d69ed3c034d4@meetinghouse.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOzkt-00052y-Gz for help-guix@gnu.org; Fri, 10 May 2019 03:15:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOzks-0001Gg-8M for help-guix@gnu.org; Fri, 10 May 2019 03:15:43 -0400 Received: from mira.cbaines.net ([212.71.252.8]:58746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOzkr-0001Fe-Uy for help-guix@gnu.org; Fri, 10 May 2019 03:15:42 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 38E0D16EF4 for ; Fri, 10 May 2019 08:15:40 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id a0b1af31 for ; Fri, 10 May 2019 07:15:39 +0000 (UTC) In-reply-to: <2f3da087-041c-8053-69e7-d69ed3c034d4@meetinghouse.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --=-=-= Content-Type: text/plain Miles Fidelman writes: > Thanks Chris, > > A couple of follow-ups: > > On 5/9/19 12:39 PM, Christopher Baines wrote: >> >> 1: http://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/talks >> >> There's also two talks [2] which I've given in the past on Guix, they're >> a few years old, but I think most of the material is still correct. >> > Silly me, but how does one view these things? The ones labeled with > .pdf extensions come across as ascii files, that can't be read as pdf, > and others look like they have to be assembled. There might be a "plain" link, which you can use to download the file, and then open it once it's downloaded. Alternatively, clone the Git repository and browse the files on your computer. >> 2: https://www.cbaines.net/projects/guix/ >> >> The FOSDEM 2018 one is shorter, and higher level [3]. >> >> 3: https://www.cbaines.net/projects/guix/fosdem-2018/presentation/#/ >> >> The Freenode live! 2017 one is longer and more technical [4]. >> >> 4: https://www.cbaines.net/projects/guix/freenode-live-2017/presentation/#/ > > From the slides, it looks like GUIX keeps track of dependencies, but > there's no discussion about how dependencies are identified, included > in the package definitions, or resolved at install time. Details (or > pointer) please! I'm not sure there's a great reference for these, so dependencies are not really identified, but when you define a package you declare some "inputs". There are 3 relevant fields in the package record, inputs, native-inputs, and propagated-inputs. Generally, the runtime dependencies are a subset of the build inputs. Specifically the ones that are still referenced in the generated outputs from the build. The propagated-inputs will also be installed alongside the package if it's installed. Dependencies aren't resolved at install time, they're exactly specified when the package is built. However, Guix does have a concept of search paths, which helps some software connect things up at runtime. For example, when you install python, and python-numpy, Guix will set the PYTHONPATH environment variable in the profile, so that Python can find the relevant packages. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlzVJRlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xf42Q/+IdIc+lxUY+0r56uASnk47xtMyCI0AjNQoZ3E8FHyAHKTnq62V3EJhVdd uJDeA1nX0rQwIr3qYCGTSJMgBjPZP8QLZrDdLuF+qxzYqW0j8RRQEiMppoPJXEDX /srmVGW7M1Bw3PwfxVVUjs4Ah6k7DW2AzBf3AHR+mWYdSlNXjZQ8crWF4/di0fbl O7mmup0rPbr3q9FPEo05YDDP51iGqJn9ZN1g/DGWr+Mgs98haHFJL0lt3x/02KrS RRlANNGa4OZnGL+K5dDtrN1fv2m/vcfyTgnbXbCNoAl7F1eqITM/tEJE3BRsPFjL 3yYP4jt9CXG0H4HGJ/HkycuzVsUu+3nw+mObB717uOjuQvB3wNoxaiXFOa6tkpbb 9dnKlAmmguNYmuSViFFAEBCpbvdUgem62o1BWK+buuK3SGj42jqzuNXuruCPl9cz FeXEs7oirsf8lvsxp9pndU0p4zlmaEGR4uU/9F/WuoAgTpF0S2vPnVL+WwHhwnqV 0o+6vCjCRIAJRgaYjebMtABGQTDSvPa8ktYkrbSU2tFRPcAmZ3ekl4XiuRFFIynG +cZxLTvwU9HpgA09krPvTHA+AJBlsZzNu+rEWhPYkPHEHH7WZBamvPvnS2BiBjuw 5oWy8z/d7i0FWZzcZnvemywyow3oyWmdNjjhKFUqdt3xBCGqEWY= =UQY6 -----END PGP SIGNATURE----- --=-=-=--