Re: Binary substituter

2013-04-26 Thread Ludovic Courtès
Andreas Enge skribis: > Am Donnerstag, 25. April 2013 schrieb Ludovic Courtès: >> I believe that commit 1c9e7d6 partly solves that. That is, if you >> ‘rm -rf /nix/var/nix/substitute-binary/’, and then run >> ‘guix build hello -n’, it should report things that it would download. > > Yes, it tell

Re: Binary substituter

2013-04-26 Thread Andreas Enge
Am Donnerstag, 25. April 2013 schrieb Ludovic Courtès: > I believe that commit 1c9e7d6 partly solves that. That is, if you > ‘rm -rf /nix/var/nix/substitute-binary/’, and then run > ‘guix build hello -n’, it should report things that it would download. Yes, it tells it will download hello. And th

Re: Binary substituter

2013-04-25 Thread Ludovic Courtès
Having discussed it today, the problem seems to relate to the use of Guile 2.0.5: the web client would not work as expected, and thus the substituter would erroneously think that the queried store paths are missing on hydra.gnu.org, and cache that. I believe that commit 1c9e7d6 partly solves that.

Re: Binary substituter

2013-04-23 Thread Ludovic Courtès
Nikita Karetnikov skribis: > I suppose it shouldn't fail like this: Indeed. :-) > # ./pre-inst-env guix package -i gnutls > accepted connection from pid 23127, uid 0 > The following package will be installed: >gnutls-3.1.9.1 > /nix/store/7k65yjwz4xs6vfyqggi77lbacj5hwcz7-gnutls-3.1.9.1

Re: Binary substituter

2013-04-23 Thread Nikita Karetnikov
> I suppose it shouldn't fail like this: [...] It happened on 'master'. Though, it works on 'core-updates'. pgp28JvXLz4d8.pgp Description: PGP signature

Re: Binary substituter

2013-04-22 Thread Nikita Karetnikov
>> It should only work for x86_64, right? > Currently yes. I suppose it shouldn't fail like this: # ./pre-inst-env guix package -i gnutls accepted connection from pid 23127, uid 0 The following package will be installed: gnutls-3.1.9.1 /nix/store/7k65yjwz4xs6vfyqggi77lbacj5hwcz7-gnutls

Re: Binary substituter

2013-04-19 Thread Ludovic Courtès
Andreas Enge skribis: > Am Donnerstag, 18. April 2013 schrieb Ludovic Courtès: >> Basically 90% of the packages from either branch. See >> for master, for instance. > > It definitely does not work for me. >guix build attr What’s the output of that

Re: Binary substituter

2013-04-19 Thread Andreas Enge
Am Donnerstag, 18. April 2013 schrieb Ludovic Courtès: > And guess what: until commit ea0ee75 (right now), the substituter > mechanism was actually disabled in the installed daemon. > > Now it should really be enabled. :-) PS: I am using the later commit 6858f9d13217b14eeeacede9c42a279468242891

Re: Binary substituter

2013-04-19 Thread Andreas Enge
Am Donnerstag, 18. April 2013 schrieb Ludovic Courtès: > Basically 90% of the packages from either branch. See > for master, for instance. It definitely does not work for me. guix build attr in master builds /nix/store/mwrk9wcwwzji8xqh5pr7a5ksicyb

Re: Binary substituter

2013-04-18 Thread Ludovic Courtès
Andreas Enge skribis: > Am Mittwoch, 17. April 2013 schrieb Ludovic Courtès: >> And with commit dd36b51, ‘guix build’ & co. report what will be >> downloaded in addition to what will be built. >> >> Please test! > > Do you have an example of a package that should be downloaded? I tried > hello,

Re: Binary substituter

2013-04-18 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> Please test! > > It should only work for x86_64, right? Currently yes. Ludo’.

Re: Binary substituter

2013-04-18 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > l...@gnu.org (Ludovic Courtès) skribis: > >> This commit adds the ‘guix substitute-binary’ command, which is intended >> for use by the daemon, not by normal users. So far, the daemon can >> invoke it to know which substitutes are available on hydra.gnu.o

Re: Binary substituter

2013-04-18 Thread Andreas Enge
Am Mittwoch, 17. April 2013 schrieb Ludovic Courtès: > And with commit dd36b51, ‘guix build’ & co. report what will be > downloaded in addition to what will be built. > > Please test! Do you have an example of a package that should be downloaded? I tried hello, and it is still build locally. An

Re: Binary substituter

2013-04-18 Thread Nikita Karetnikov
> Please test! It should only work for x86_64, right? pgp8AOHYbfJTY.pgp Description: PGP signature

Re: Binary substituter

2013-04-16 Thread Ludovic Courtès
And with commit dd36b51, ‘guix build’ & co. report what will be downloaded in addition to what will be built. Please test! Ludo’.

Re: Binary substituter

2013-04-15 Thread Ludovic Courtès
Starting from eba783b, the substituter maintains a local cache (by default under /nix/var/nix/substitute-binary/cache) of lookups of binaries. So if you look for a given /nix/store file name several times in a row, only the first time does it actually connect to hydra.gnu.org to check if it’s ther

Re: Binary substituter

2013-04-12 Thread Ludovic Courtès
Hi! l...@gnu.org (Ludovic Courtès) skribis: > This commit adds the ‘guix substitute-binary’ command, which is intended > for use by the daemon, not by normal users. So far, the daemon can > invoke it to know which substitutes are available on hydra.gnu.org. It > cannot actually download them ye

Binary substituter

2013-04-03 Thread Ludovic Courtès
Hello, Commit f65cf81 adds the beginning of a “binary substituter”. The substituter (in Nix parlance) is the mechanism by which a pre-built binary can be substituted to a locally-built binary. The idea is that, when you’re about to build, say, /nix/store/xxx-emacs-24.3.1, the daemon ask