unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel@gnu.org, Leo Famulari <leo@famulari.name>,
	Erlang <erlang-questions@erlang.org>,
	Magnus Henoch <magnus@erlang-solutions.com>
Subject: Re: Reproducible and deterministic builds for GNU Guix (and Nix)
Date: Fri, 8 Apr 2016 21:52:56 +0200	[thread overview]
Message-ID: <20160408195256.GA21804@thebird.nl> (raw)
In-Reply-To: <20160408194621.GA21757@thebird.nl>

> also be changed). I guess you need it for hot reloading, but can't you
> calculate the SHA on the fly for that? You'd need to open beam files
> anyway to get the value(s) and they will be loaded by the OS unless

Aw, sorry Joe, my bad. The stored SHA value is calculated on the
original source file, so that is not opened. 

Guix/Nix calculate their SHA values over the source and build
environment and that path is stored in an immutable store. So, you
already have a strong guarantee that the sands don't shift under you. 

But then people will use Erlang outside GNU Guix - and there a SHA
value makes sense if you watn to have a guarantee that it has the same
source. Much better than a time stamp.

Pj.

      reply	other threads:[~2016-04-08 19:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAANBt-rnhhLkzJqzPZ6yoKQb-jXHaQ33ONXXmFL-b0aCLuDNQA@mail.gmail.com>
     [not found] ` <CAJ67tHrONL3_EMcfq+rPVx1k8RHMQc2ddBo4EuO6WYDqCwQSdw@mail.gmail.com>
2016-04-08  6:59   ` Reproducible and deterministic builds for GNU Guix (and Nix) Pjotr Prins
2016-04-08  7:13     ` Erlang: " Pjotr Prins
2016-04-08 15:06     ` Joe Armstrong
2016-04-08 19:46       ` Pjotr Prins
2016-04-08 19:52         ` Pjotr Prins [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20160408195256.GA21804@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=erlang-questions@erlang.org \
    --cc=guix-devel@gnu.org \
    --cc=leo@famulari.name \
    --cc=magnus@erlang-solutions.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).