Hi Ian,

On 8/6/26 20:27, Ian Eure wrote:
Hi Hugo,

Hugo Buddelmeijer via "Development of GNU Guix and the GNU System distribution." <[email protected]> writes:

Can we mock the date/time when we run the guix build process?

The cumbersome parts are:

- They must spawn the program the time is adjusted for, ex: `faketime
   make check'.  Which means you have to mess with the   build-system’s
   phases to make it work.

Thanks; good to know that there are some standardized ways around these time traps on the package level.

(For astropy we just disabled the downloading of new data.)

> - faketime doesn’t work on 32-bit systems, so packages must choose
>    either faketime or datefudge, depending on the build target.

Annoying, but how awesome is it that we can do these selections in scheme? Instead of in bash or yaml! ❤️ Guix!

Better support for this within the package definition itself would be
most welcome.

Yeah I was thinking that too. Specify a date/time and have the package be build 'at' that time. Maybe even have a default 'guix epoch'.


Reply via email to