Splitting up packages, targeting smaller/older devices

2021-04-19 Thread Leo Prikler
> One thing I'd like to try is to split up packages into more outputs, > kinda like what Alpine does. This isn't really technically > challenging, > it's mostly just busywork and adding some default build phases and > maybe some more default outputs. But it is a pretty big change, so, > is > this s

Re: Finding the store path of a package

2021-04-19 Thread Konrad Hinsen
Hi Ludo, > Why #:graft? #f? Because if you enable graft, you’ll potentially have > to build/download the thing, and that wouldn’t buy you anything because > the set of file names is the same in the grafted package. Four weeks later: this mostly works, but sometimes fails (by downloading/building

Re: bug#47867: [1.2.1 pre-release testing] substitute downloading and TLS errors

2021-04-19 Thread pelzflorian (Florian Pelz)
On Sun, Apr 18, 2021 at 02:10:06PM +0200, pelzflorian (Florian Pelz) wrote: > On IRC Ricardo/rekado suspected > c7c7f068c15e419aaf5ef616516aa5ad4e55c2fa, I will try reverting it. It was necessary to revert follow-up commits before reverting c7c7f068c15e419aaf5ef616516aa5ad4e55c2fa. I tried on Gui

Re: bug#47867: [1.2.1 pre-release testing] substitute downloading and TLS errors

2021-04-19 Thread pelzflorian (Florian Pelz)
On Mon, Apr 19, 2021 at 10:05:25AM +0200, pelzflorian (Florian Pelz) wrote: > I dd’d the resulting image to a USB drive and the TLS errors no longer > appear (tried installing everything two times now; without reverts > downloading enlightenment needed retrys everytime). > […] I suspect restarting

Re: Outreachy - Guix Data Service: implementing basic json output for derivation comparison page

2021-04-19 Thread Christopher Baines
Luciana Lima Brito writes: > Hi, > > On Sun, 18 Apr 2021 17:34:13 +0100 > Christopher Baines wrote: > >> I think it might be good to do something, just to narrow the scope. >> The outputs binding is valid for the whole let*, and all the code in >> it, but is only used on three lines, in one sin

Re: bug#47867: [1.2.1 pre-release testing] substitute downloading and TLS errors

2021-04-19 Thread pelzflorian (Florian Pelz)
On Mon, Apr 19, 2021 at 10:05:25AM +0200, pelzflorian (Florian Pelz) wrote: > I will bisect which reverts are needed, but it takes time … My UEFI broke; the PC cannot display anything anymore. Don’t wait for my debugging.

Re: Outreachy - Guix Data Service: implementing basic json output for derivation comparison page

2021-04-19 Thread Luciana Lima Brito
On Mon, 19 Apr 2021 09:26:13 +0100 Christopher Baines wrote: > As an example, if you have this structure. > > '((foo . 1) > (bar . 2)) > > and you want the numbers to be strings, you can do something like: > > (map (match-lambda > ((name . number) > (cons name (number-

Re: Guix help page

2021-04-19 Thread Luis Felipe
Hi Vincent, On Sunday, April 18, 2021 4:59 PM, Vincent Legoll wrote: > Hello, > > I think we could add a link to the devel doc [1] (with the appropriate > warnings) to the "all help" page. > > WDYT ? > > [1] https://guix.gnu.org/manual/devel/ It sounds good to me. I added this to my list, but

Re: Guix help page

2021-04-19 Thread Vincent Legoll
Hi, On Mon, Apr 19, 2021 at 6:44 PM Luis Felipe wrote: > It sounds good to me. I added this to my list, but if someone else wants to > do it, please go ahead. I'll give it a shot -- Vincent Legoll

Re: Guix help page

2021-04-19 Thread Vincent Legoll
> I'll give it a shot Here is an (untested) attempt, is it any good ? -- Vincent Legoll From 50f15a322e86591bc6e3572245c98eb79c0dfafb Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Mon, 19 Apr 2021 19:48:51 +0200 Subject: [PATCH] website: help: Add development manual link. * website/apps/

Re: [Outreachy] - Guix Data Service - Set a more informative page title

2021-04-19 Thread Christopher Baines
Canan Talayhan writes: > Thanks for your quick response. > >>Why's the @ being removed here? > It interprets like an HTML code when I use the page-header like > `,page-header, so I removed it. According to your comment, I reverted > to the original version. > > " 'GET repository..." which includ

Re: Outreachy - Guix Data Service: implementing basic json output for derivation comparison page

2021-04-19 Thread Christopher Baines
Luciana Lima Brito writes: > On Mon, 19 Apr 2021 09:26:13 +0100 > Christopher Baines wrote: > >> As an example, if you have this structure. >> >> '((foo . 1) >> (bar . 2)) >> >> and you want the numbers to be strings, you can do something like: >> >> (map (match-lambda >> ((name

Re: Narinfo negative and transient error caching

2021-04-19 Thread Christopher Baines
Christopher Baines writes: > This has been on my mind for a while, as I wonder what effect it has on > users fetching substitues. > > The narinfo caching as I understand it works as follows: > > Default success TTL => 36 hours > Negative TTL=> 1 hour > Transient error TTL => 10 minute

Re: Outreachy - Guix Data Service: implementing basic json output for derivation comparison page

2021-04-19 Thread Luciana Lima Brito
Hi On Mon, 19 Apr 2021 21:20:18 +0100 Christopher Baines wrote: > Great, I've gone ahead and pushed this now. What a great news!!! > In terms of what to do next, you could continue on this derivation > comparison path. Some of the code you've got here could be used to > make the data better r

Re: Guix help page

2021-04-19 Thread Luis Felipe
On Monday, April 19, 2021 5:58 PM, Vincent Legoll wrote: > > I'll give it a shot > > Here is an (untested) attempt, is it any good ? Personally, I would add the development version of the manual as a separate item in that page because the current Manual item already looks a bit crowded. So I'

Re: bug#47867: [1.2.1 pre-release testing] substitute downloading and TLS errors

2021-04-19 Thread pelzflorian (Florian Pelz)
After flashing the CMOS I can test again. Without reverts TLS errors happen while or after downloading the enlightenment substitute from the installer. With all of those reverts *no* TLS errors happen: On Mon, Apr 19, 2021 at 10:05:25AM +0200, pelzflorian (Florian Pelz) wrote: > git revert 2d730