Re: Proper use of `guix build X --rounds=2`

2024-02-19 Thread Skyler Ferris
On 2/18/24 15:23, Carlo Zancanaro wrote: > I'm not sure if this is considered a bug or not, but the solution to > your problem is to use --check. Using your test file running: > >guix build -f test.scm --check > > should run the build one time, and compare the output with what is in > the store

Re: Proper use of `guix build X --rounds=2`

2024-02-18 Thread Carlo Zancanaro
Hi Skyler, On Sun, Feb 18 2024, Skyler Ferris wrote: > Am I using the `--rounds` flag wrong, do I misunderstand this tool, or > is this actually a bug? I'm not sure if this is considered a bug or not, but the solution to your problem is to use --check. Using your test file running: guix build

Proper use of `guix build X --rounds=2`

2024-02-18 Thread Skyler Ferris
Hello, Checking a package for reproducibility is one important part of patch review. Based on the documentation for the `--rounds=N`, I expect that a line such as `guix build foo --rounds=2` will build the package at least once and at most twice (assuming that, if the output is already present