unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Leo Famulari <leo@famulari.name>, guix-devel@gnu.org
Subject: Re: Derivations differ between computers?
Date: Thu, 25 Nov 2021 10:32:57 +0100	[thread overview]
Message-ID: <8635nkshpy.fsf@gmail.com> (raw)
In-Reply-To: <YZ7tE2s+7f8p+o48@jasmine.lan>

Hi,

On Wed, 24 Nov 2021 at 20:55, Leo Famulari <leo@famulari.name> wrote:
> I'm seeing something weird, where Guix is creating different derivations
> based on the same Git commit, between two machines of the same system
> type:

Euh?!

Many things appear really weird.  Just, how is it possible,

> Derive([("out","/gnu/store/81bdcd5x4v50i28h98bfkvvkx9cky63w-hello-2.10","","")]
("/gnu/store/xmq151lsv0p5q435q8l3f9yi8ddrxs00-hello-2.10.tar.gz.drv",["out"])

> Derive([("out","/gnu/store/81bdcd5x4v50i28h98bfkvvkx9cky63w-hello-2.10","","")]
("/gnu/store/78ww8sqfpxavnkjgwafs7xr2zwzza3mc-hello-2.10.tar.gz.drv",["out"])


to have 2 different fixed-outputs which lead to the same final output hash?


On my machine, running two time-machine, I get the same as machine A
/gnu/store/260bk0ch4np4h2yz5yqhf8hjbsyhwpmr-hello-2.10.drv.


Where does Guix on machine B come from?  Because, Guix inherits from
some previous config, I mean, for instance:

   ./bootstrap && ./configure --localstatedir=/var && make
   ./pre-inst-env guix pull
   guix pull
   guix <actions>

is not necessarily the same as:

   guix pull
   guix pull
   guix <actions>

because ’sysconfdir’ is not the same.  See for instance this
<http://issues.guix.gnu.org/issue/47401> for documenting this behaviour.


Cheers,
simon


      parent reply	other threads:[~2021-11-25  9:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25  1:55 Derivations differ between computers? Leo Famulari
2021-11-25  3:02 ` Leo Famulari
2021-11-26  0:49   ` zimoun
2021-11-28 17:38     ` Ludovic Courtès
2021-11-25  9:32 ` zimoun [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=8635nkshpy.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=leo@famulari.name \
    /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).