all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: guix-devel@gnu.org, Konrad Hinsen <konrad.hinsen@fastmail.net>,
	Josselin Poiret <dev@jpoiret.xyz>,
	Guix Devel <guix-devel@gnu.org>
Subject: Re: Time travel accident
Date: Fri, 07 Apr 2023 19:39:44 +0200	[thread overview]
Message-ID: <C54D7C22-131B-485B-B003-E24057075E34@lepiller.eu> (raw)
In-Reply-To: <m1h6trhdwa.fsf@fastmail.net>

If you're able to find the derivation, you could set your system time and guix build /gnu/store/that.drv. this should not require network at all, so guix shouldn't complain.

Le 7 avril 2023 18:10:13 GMT+02:00, Konrad Hinsen <konrad.hinsen@fastmail.net> a écrit :
>Hi Josselin and Julien,
>
>Thanks to both of you for your suggestions!
>
>Josselin Poiret <dev@jpoiret.xyz> writes:
>
>> We have --without-tests=package already, see --help-transform for all
>> available package transformations.  The one annoying thing is that
>> disabling tests will change the derivation and you thus will not recover
>> the same store item (it might be bit-for-bit equivalent, but its path
>> will not be the same), preventing you from using substitutes either.
>
>For my case, that sounds OK. There are no substitutes for that
>three-year old commit any more, so I am building everything. And I don't
>care about bit-for-bit equivalence, I just want to run Python 3.8.2.
>
>> Though, I'm not sure it will help you here because openssl is built as
>> part of the `guix time-machine`'s build process, which afaik cannot be
>> transformed.
>
>Ahhh... there's the bad news.
>
>> By the way, we can also "fix the past" by using guix/quirks.scm.  Since
>
>Oohhh... There's always one more surprise in Guix!
>
>
>Julien Lepiller <julien@lepiller.eu> writes:
>
>> Changing your system date should let it build.
>
>Interesting idea! I tried, but it doesn't work: Guix itself complains
>about a certificate failure if I set the clock three years back.
>
>Maybe "guix time-machine" should have an option for setting the clock to
>the commit timestamp just for the build process...
>
>Cheers,
>  Konrad.
>


  reply	other threads:[~2023-04-07 17:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07  7:47 Time travel accident Konrad Hinsen
2023-04-07  8:30 ` Josselin Poiret
2023-04-07 10:07   ` Julien Lepiller
2023-04-07 16:10   ` Konrad Hinsen
2023-04-07 17:39     ` Julien Lepiller [this message]
2023-04-11 15:20       ` Konrad Hinsen
2023-04-12 10:17         ` Konrad Hinsen
2023-04-12 14:09           ` Simon Tournier
2023-04-13  8:14             ` Konrad Hinsen
2023-04-12 11:03         ` Simon Tournier
2023-04-12 12:53           ` Konrad Hinsen
2023-04-07 17:26 ` Simon Tournier
2023-04-17 13:32 ` Ludovic Courtès
2023-04-17 17:50   ` Simon Tournier
2023-04-17 22:16     ` Vagrant Cascadian
2023-04-18  9:39       ` Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C54D7C22-131B-485B-B003-E24057075E34@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=dev@jpoiret.xyz \
    --cc=guix-devel@gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.