Ahoy Ludo',

On 2016-07-21 18:06, l...@gnu.org wrote:
  (inputs `(("somethingsilly" ,glib "bin")))

This "somethingsilly" is just a label that allows you to refer to an
input on the build side, in idioms like:

  (assoc-ref inputs "somethingsilly")
  => "/gnu/store/…-glib-42.0-bin"

I remember writing something like

  (inputs `(("libuuid" ,util-linux)))

once, to indicate that libuuid really is all we need and that one
could swap out util-linux for another — extremely hypothetical —
libuuid provider.

Was this, in hindsight, somethingsilly? :-)

If so, is there still a reason to keep all this duplication around?

This predates g-expressions, which solve this problem more elegantly.

Interesting! I always assumed[1] gexps were one of the foundations for
Guix since day 0.

Kind regards,

T G-R

[1]: Don't.

Reply via email to