From: Steven Allen <steven@stebalien.com>
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: help-guix@gnu.org
Subject: Re: Design decision behind inputs/native-inputs/propagated-inputs
Date: Thu, 21 Jan 2016 18:19:35 -0500 [thread overview]
Message-ID: <20160121231935.GA26221@stebalien.com> (raw)
In-Reply-To: <56A15FC4.2060501@uq.edu.au>
[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]
Ben,
Replying back on list because I managed to take us off...
On 01-22-16, Ben Woodcroft wrote:
> On 22/01/16 08:13, Steven Allen wrote:
> >Most distros distinguish between build dependencies and runtime
> >dependencies. Guix doesn't appear to have this distinction and I am
> >under the impression that it autodetects which inputs are needed at
> >runtime (as apposed to at compile time only) by scanning the output
> >files for references to files in the inputs. Is this not the case?
> In short, no.
> You could say it scans the derivation which includes a list of "runtime"
> dependencies i.e. inputs and propagated-inputs. Derivations are in a
> well-defined format that guix generates, and are just a way of keeping track
> of dependencies that are needed at runtime. Guix doesn't scan the binaries
> or shared libraries for instance. Indeed that would be mayhem as you
> suggest.
Thanks! That makes so much more sense. Just to be clear, given:
(package
(name "foo")
(inputs `(("bar", bar)))
(native-inputs `(("baz", baz)))
...
)
If I install "foo", "foo" will **always** be able to use the files in "bar"
but will not (may not?) be able to use the files in "baz"?
Sorry about the confusion...
--
Steven Allen
((Do Not Email <honeypot@stebalien.com>))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-01-21 23:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 4:49 Design decision behind inputs/native-inputs/propagated-inputs Steven Allen
2016-01-21 9:59 ` Ludovic Courtès
2016-01-21 16:08 ` Steven Allen
2016-01-21 21:42 ` Ben Woodcroft
[not found] ` <20160121221340.GA6151@stebalien.com>
[not found] ` <56A15FC4.2060501@uq.edu.au>
2016-01-21 23:19 ` Steven Allen [this message]
2016-01-21 23:57 ` Ben Woodcroft
2016-01-22 1:30 ` Steven Allen
2016-01-23 16:59 ` Steven Allen
2016-01-23 21:12 ` Ludovic Courtès
2016-01-23 22:55 ` Steven Allen
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=20160121231935.GA26221@stebalien.com \
--to=steven@stebalien.com \
--cc=b.woodcroft@uq.edu.au \
--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.