Re: Package input loop detection

2018-04-23 Thread Ludovic Courtès
Hi again, Thanks Ricardo for the reminder. :-) Christopher Baines skribis: > I've included a very rough patch which detects and informs the user what > has happened, this is an example of what this looks like (with a version > of the wip-rails branch I've broken): > > > $

Re: Package input loop detection

2018-04-18 Thread Ricardo Wurmus
Hi Ludo, Christopher wrote this: >>> I'm not particularly fond of the implementation, because the >>> package-derivation function is called from expand-input called from >>> bag->derivation, the information about the part of the graph that has >>> been traversed is passed through each function.

Re: Package input loop detection

2018-02-14 Thread Ludovic Courtès
Hello! Ricardo Wurmus skribis: >> I've had this issue for a while now, while adding some packages, I'll >> create a loop in the package graph, which causes Guix to just loop >> infinitely when trying to generate derivations. > > this is a great initiative. I’ve been having

Re: Package input loop detection

2018-02-12 Thread Ricardo Wurmus
Ricardo Wurmus writes: >> I've had this issue for a while now, while adding some packages, I'll >> create a loop in the package graph, which causes Guix to just loop >> infinitely when trying to generate derivations. > > this is a great initiative. I’ve been having this

Re: Package input loop detection

2018-02-12 Thread Gábor Boskovits
2018-02-12 16:30 GMT+01:00 Ricardo Wurmus : > > Hi, > > > I've had this issue for a while now, while adding some packages, I'll > > create a loop in the package graph, which causes Guix to just loop > > infinitely when trying to generate derivations. > > this is a great

Re: Package input loop detection

2018-02-12 Thread Ricardo Wurmus
Hi, > I've had this issue for a while now, while adding some packages, I'll > create a loop in the package graph, which causes Guix to just loop > infinitely when trying to generate derivations. this is a great initiative. I’ve been having this issue in the past as well, and I’d really like

Package input loop detection

2018-02-05 Thread Christopher Baines
these problems, without touching the core derivation related code. What do people think? Thanks, Chris From ac8434025cc16fee2bc84345313305fc9146ca20 Mon Sep 17 00:00:00 2001 From: Christopher Baines <m...@cbaines.net> Date: Mon, 5 Feb 2018 16:28:42 +0000 Subject: [PATCH] WIP: Ad