all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: help-guix@gnu.org
Subject: Re: good overview presentation?
Date: Fri, 10 May 2019 08:15:37 +0100	[thread overview]
Message-ID: <871s16ok4m.fsf@cbaines.net> (raw)
In-Reply-To: <2f3da087-041c-8053-69e7-d69ed3c034d4@meetinghouse.net>

[-- Attachment #1: Type: text/plain, Size: 2202 bytes --]


Miles Fidelman <mfidelman@meetinghouse.net> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

  reply	other threads:[~2019-05-10  7:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-09 15:04 good overview presentation? Miles Fidelman
2019-05-09 16:39 ` Christopher Baines
2019-05-09 21:42   ` Miles Fidelman
2019-05-10  7:15     ` Christopher Baines [this message]
2019-05-10  7:37     ` Giovanni Biscuolo
2019-05-10 12:57       ` sirgazil
2019-05-10 16:15         ` thanks all - for answers to recent questions Miles Fidelman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871s16ok4m.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.