Re: Environment variables in Guix and GuixSD

2018-11-07 Thread Gábor Boskovits
Hello Ludo, 2018. nov. 7., Sze 22:55 dátummal Ludovic Courtès ezt írta: > Hi, > > Gábor Boskovits skribis: > > > I have seen in the /etc/profile file that it suggest you to do something > like > > > > source $GUIX_PROFILE/etc/profile. > > Right, you see this advice in $GUIX_PROFILE/etc/profile

Re: hydra.gnu.org now provides substitutes for ‘guix pull’

2018-11-07 Thread Mark H Weaver
Hi Pjotr, Pjotr Prins writes: > Another thing I find a little strange. When I install a package or an > environment it completes fine. When I add then --no-substitutes flag > and it always builds stuff like openssl and libgcrypt, pango and such > from source. > > I.e., it creates a build system

Re: Fix missing guile-gcrypt on hydra to build guix-modular

2018-11-07 Thread Ludovic Courtès
Hello, swedebugia skribis: > Could we enable hydra to build guix-modular again? > > It fails since guile-gcrypt was introduced as a dependency (4/9-18) > > See http://hydra.gnu.org/jobset/guix/modular#tabs-errors This was discussed before on this list: the fix appears to be non-trivial and pers

Re: Substituting in parallel to save time?

2018-11-07 Thread Ludovic Courtès
Hi! Leo Famulari skribis: > I noticed that in many cases, it takes longer to set up the substitution > than to actually download the substitute on my 30 Mbps downlink. Yeah. > The effect is that it might take a few minutes to to download a few > dozen small substitutes, which may only total 5

Re: Cuirass and (guix config)

2018-11-07 Thread Ludovic Courtès
Hello, Mathieu Othacehe skribis: > I use Cuirass to build Guix disk-images on a powerful machine serving > them with guix publish. I was surprised that a lot of local build where > triggered instead of using substitutes. I think this is the reason: > > When Cuirass fetches a new guix, it is prep

Re: hydra.gnu.org now provides substitutes for ‘guix pull’

2018-11-07 Thread Ludovic Courtès
Pjotr Prins skribis: > On Tue, Nov 06, 2018 at 02:30:08PM +0100, Ludovic Courtès wrote: >> > Now 'guix pull' itself is rather slow. Would it be possible to use >> > Guix pack or archive on an existing ~/.config/guix/current graph? >> >> Substitutes *are* such an archive. > > Hmmm. How do I creat

Re: Patchwork + automated checking and testing of patches

2018-11-07 Thread Ludovic Courtès
Hi Christopher, Christopher Baines skribis: > So, I was trying to work out how to update a series of patches, and > asked on the Patchwork mailing list [1], and discovered there's actually > another codebase with different features [2]. This Patchwork-FDO fork > does have a page that just displa

Re: Environment variables in Guix and GuixSD

2018-11-07 Thread Ludovic Courtès
Hi, Gábor Boskovits skribis: > I have seen in the /etc/profile file that it suggest you to do something like > > source $GUIX_PROFILE/etc/profile. Right, you see this advice in $GUIX_PROFILE/etc/profile itself. > This causes problems on systems where the startup file is executed by > a posix /

Fix missing guile-gcrypt on hydra to build guix-modular

2018-11-07 Thread swedebugia
Hi Could we enable hydra to build guix-modular again? It fails since guile-gcrypt was introduced as a dependency (4/9-18) See http://hydra.gnu.org/jobset/guix/modular#tabs-errors -- Cheers Swedebugia

Substituting in parallel to save time?

2018-11-07 Thread Leo Famulari
Substitution honors the --max-jobs argument to the guix-daemon, which means that, by default, substitutes are downloaded in sequence, one at a time. I noticed that in many cases, it takes longer to set up the substitution than to actually download the substitute on my 30 Mbps downlink. The effect

Re: Packaging gx (for IPFS): Need to update default Go to 1.11?

2018-11-07 Thread Leo Famulari
On Wed, Nov 07, 2018 at 09:48:50PM +0100, Pierre Neidhardt wrote: > In my patchset, there are 2 kinds of fixes: > > - Disabling tests because Go 1.11 test policies are stricter and some lax code > from before does not pass anymore. > For this issue, upstream should fix their packages. As far

Re: Packaging gx (for IPFS): Need to update default Go to 1.11?

2018-11-07 Thread Leo Famulari
On Wed, Nov 07, 2018 at 09:09:24PM +0100, Pierre Neidhardt wrote: > Sure, but isn't this too much a hassle (and more pollution added to the > package > namespace) for a temporary workaround? It's a matter of taste :) > Shouldn't we focus on fixing the cache bug in the build system instead? Yes,

Re: Nano: disable hard wrapping by default

2018-11-07 Thread Leo Famulari
On Tue, Nov 06, 2018 at 07:43:21PM +0100, swedebugia wrote: > Could we disable it by default? > > According to the FAQ this exist: > > "With --disable-wrapping-as-root you can disable any hard-wrapping by > default when the user is root, useful to prevent accidentally changing long > lines in sys

Re: Packaging gx (for IPFS): Need to update default Go to 1.11?

2018-11-07 Thread Leo Famulari
On Wed, Nov 07, 2018 at 05:22:44PM +0100, Pierre Neidhardt wrote: > Hmm, actually it seems that go1.9 is not able to build a package against > dependencies built with go1.11. Yeah, I don't think there is any notion of backwards compatibility there. > For Demlo, that would mean that I need to add

Re: Patchwork + automated checking and testing of patches

2018-11-07 Thread Christopher Baines
Ludovic Courtès writes: > Hello! > > Christopher Baines skribis: > >> Ludovic Courtès writes: > > [...] > >>> Back when we tried, it had a couple of shortcomings: >>> >>> 1. It would not automatically detect which patches have been merged; >>> >>> 2. It would not present patch series corre

Annotated guix source folder tree

2018-11-07 Thread swedebugia
Hi I exported the tree and would like an annotated version to be added to the manual. Would you agree that this is a good idea? I started the annotation below for the directories I know about. :) We could have two versions: 1 for new users with a stripped down tree and a full version for ha

Re: Trying to make texinfo patch

2018-11-07 Thread Laura Lazzati
> > There are packages in GNU Guix for using Amazon S3 as a backup storage > host. For example, Restic and python2-s3cmd. It's not necessary to use > non-free software with AWS for this purpose. > Sorry, maybe my question was not asked properly. I was thinking about a cloud server where I could run

Overview of Guix pull symlinks and thoroughly test it

2018-11-07 Thread swedebugia
Hi Reading (again) about somebody being bit by the pull-bull ;-) (below) Is there an overview of guix directories and symlinks? Anyone got any ideas of how to thoroughly test this pull-beast to make it less brittle and erroneous? Cheers swedebugia Forwarded Message Subje

Unexpected building of dependencies

2018-11-07 Thread Ricardo Wurmus
Pjotr Prins writes: > Another thing I find a little strange. When I install a package or an > environment it completes fine. When I add then --no-substitutes flag > and it always builds stuff like openssl and libgcrypt, pango and such > from source. Could you provide a list of commands to repr

Cuirass and (guix config)

2018-11-07 Thread Mathieu Othacehe
Hi Guix, I use Cuirass to build Guix disk-images on a powerful machine serving them with guix publish. I was surprised that a lot of local build where triggered instead of using substitutes. I think this is the reason: When Cuirass fetches a new guix, it is prepended to the load path during eva

Re: Nano: disable hard wrapping by default

2018-11-07 Thread Thorsten Wilms
On 07/11/2018 06.38, Alex Vong wrote: To edit configuration files always pass nano the -w option. Without the -w option long lines become wrapped lines. This creates problems when saving because the lines are saved as wrapped lines instead of how they were in the original file. Many t

Re: hydra.gnu.org now provides substitutes for ‘guix pull’

2018-11-07 Thread Pjotr Prins
On Tue, Nov 06, 2018 at 04:55:45PM +0100, Pjotr Prins wrote: > On Tue, Nov 06, 2018 at 02:30:08PM +0100, Ludovic Courtès wrote: > > > Now 'guix pull' itself is rather slow. Would it be possible to use > > > Guix pack or archive on an existing ~/.config/guix/current graph? > > > > Substitutes *are*