all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: zimon.toutoune@gmail.com
Cc: guix-devel@gnu.org
Subject: unexpected reproducibility of reproducible blog post?
Date: Mon, 27 Apr 2020 00:53:42 +0200	[thread overview]
Message-ID: <c6205187a0b9f47919f5b53e51a6be0f65cf4ed4.camel@student.tugraz.at> (raw)
In-Reply-To: CAJ3okZ3mbK-HQ5-FH+ESMPxi8QCeWVpEswkdnXJE_9SuG8WtJQ@mail.gmail.com

Hi simon,

I've executed your commands, et voilà
yours: /gnu/store/klisfr3a4wxb9dc5sgibb45kky72kg65-docker-pack.tar
mine:  /gnu/store/klisfr3a4wxb9dc5sgibb45kky72kg65-docker-pack.tar
Unsurprisingly, this did not change when adding channels -- though, if
you were to add your personal channel with some override for gcc-
toolchain, things might be different.

I don't know, what configuration exactly went into the blog post, but I
assume, it is not the same as for the time-machine experiments before. 
Since the prefix `guix time-machine --channels=guix-version-for-
reproduction.txt --` appears to be missing from the command, that hash
is therefore probably not indicative of anything.

I think the larger problem here is that, while Guix itself is
reproducible, Guix + org-mode (specifically the latter) is not. 
Particularly, looking at the source[1,2], it appears as if all code
blocks were evaluated once, but evaluating them again in a new
environment would bring different results.  In other words, you'd have
to use `guix time-machine` inside `guix time-machine` to get a truly
reproducibly org-mode file, or else come up with a smart way of
dynamically updating the hash in the source blocks themselves.

All the best,
Leo

[1] https://lists.gnu.org/archive/html/guix-devel/2020-01/msg00106.html
[2] 
https://github.com/khinsen/reproducibility-with-guix/blob/master/reproducibility-with-guix.org

             reply	other threads:[~2020-04-26 22:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26 22:53 Leo Prikler [this message]
2020-04-27 10:05 ` unexpected reproducibility of reproducible blog post? zimoun
2020-04-27 15:28   ` Leo Prikler
  -- strict thread matches above, loose matches on Subject: below --
2020-04-26 17:44 zimoun
2020-04-29  9:26 ` Konrad Hinsen
2020-04-29  9:49   ` zimoun
2020-04-29 16:00     ` Konrad Hinsen
2020-04-30 14:51       ` zimoun
2020-05-04 13:50         ` Konrad Hinsen
2020-05-04 14:25           ` zimoun
2020-05-05 10:06           ` Ludovic Courtès
2020-05-05 13:44             ` Konrad Hinsen
2020-04-29 12:44   ` Ricardo Wurmus
2020-04-29 13:12     ` zimoun

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=c6205187a0b9f47919f5b53e51a6be0f65cf4ed4.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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.