Andreas Enge <andr...@enge.fr> skribis:

> In my attempt to install guix from guix, I came upon the problem that the 
> libgcrypt headers require the libgpg-error headers. This is a propagated 
> input, so should in the future be installed automatically.

The future is actually yesterday.  :-)

> However, the next problem is:
> In file included from /home/privat/.guix-profile/include/sys/socket.h:39:0,
>                  from /home/privat/.guix-profile/include/gcrypt.h:42,
>                  from conftest.c:65:
> /home/privat/.guix-profile/include/bits/socket.h:342:24: fatal error: 
> asm/socket.h: No such file or directory
>
> The file is in linux-libre-headers; so I suppose this should also be a 
> propagated input of libgcrypt? If you agree, I will modify the package 
> accordingly.

It’s a bit trickier.  linux-libre-headers is propagated by glibc, so if
you install glibc, you get both.

However, glibc is an /implicit/ input of everything that uses
‘gnu-build-system’, such as libgcrypt.  So it doesn’t get installed when
you install libgcrypt.

I’m not sure whether glibc should be automatically installed as if it
were a propagated input.  If the answer were “yes”, I’m not sure how to
achieve it elegantly, because implicit inputs are hidden, by definition.

Thoughts?

Ludo’.

Reply via email to