Re: Turning off tests leads to a different store item

2023-11-08 Thread Simon Tournier
Hi, On Wed, 08 Nov 2023 at 22:17, Maxim Cournoyer wrote: > I agree it looks tricky to get it right (and even trickier to prove/test > for it) :-). Yeah. I have tried a rough “proof-of-concept” i.e., two derivations: one which deletes ’check’ phase and the other which deletes ’build’ phase and

Re: Turning off tests leads to a different store item

2023-11-08 Thread Maxim Cournoyer
Hi, Simon Tournier writes: > Hi, > > On Wed, 8 Nov 2023 at 20:20, Saku Laesvuori wrote: > >> There is another way: simply preventing the tests from changing the >> resulting store item. For example, the package could first be built >> without tests and then that build tree could be copied to th

Stand Guix au Capitole du Libre à Toulouse, nov. 18-19

2023-11-08 Thread Simon Tournier
Salut, La date du Capitole du Libre approche... Chouette ! L'organisation Capitole du Libre demande le nombre de personnes qui aideront pour le stand (une histoire de sécurité et de badge). Il serait aussi judicieux que l’on puisse avoir une idée entre nous pour faciliter la journée ou les journ

Re: Turning off tests leads to a different store item

2023-11-08 Thread Simon Tournier
Hi, On Wed, 8 Nov 2023 at 20:20, Saku Laesvuori wrote: > There is another way: simply preventing the tests from changing the > resulting store item. For example, the package could first be built > without tests and then that build tree could be copied to the build tree > of the build with tests

Re: Turning off tests leads to a different store item

2023-11-08 Thread Saku Laesvuori
On Wed, Nov 08, 2023 at 10:18:40AM -0800, Vagrant Cascadian wrote: > On 2023-11-08, Felix Lechner via wrote: > > On Wed, Nov 08 2023, Maxim Cournoyer wrote: > >> A source tree doesn't produce a derivation. A derivation is the > >> complete build recipe that captures the source and the package > >>

Re: Turning off tests leads to a different store item

2023-11-08 Thread Vagrant Cascadian
On 2023-11-08, Felix Lechner via wrote: > On Wed, Nov 08 2023, Maxim Cournoyer wrote: >> A source tree doesn't produce a derivation. A derivation is the >> complete build recipe that captures the source and the package >> definition, that when built by the daemon produces a store item. > > Okay, t

Re: Turning off tests leads to a different store item

2023-11-08 Thread Felix Lechner via
Hi Maxim, On Wed, Nov 08 2023, Maxim Cournoyer wrote: > A source tree doesn't produce a derivation. A derivation is the > complete build recipe that captures the source and the package > definition, that when built by the daemon produces a store item. Okay, thanks! Now I'm going to get it right

Re: Turning off tests leads to a different store item

2023-11-08 Thread Maxim Cournoyer
Hi Felix, Felix Lechner writes: > Hi, > > On Tue, Nov 07 2023, Maxim Cournoyer wrote: > >>> Felix Lechner via writes: >>> Those shortfalls are a consequence of our packaging habits. In an ideal world, would running a test suite ever build a different derivation? >> >> You seem to be c