From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Semich Subject: Deterministic Library Calls when Building Date: Sun, 20 Mar 2016 06:04:51 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahaE9-0004ze-Bf for guix-devel@gnu.org; Sun, 20 Mar 2016 06:04:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahaE8-0001ES-MX for guix-devel@gnu.org; Sun, 20 Mar 2016 06:04:53 -0400 Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:36532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahaE8-0001EO-Gx for guix-devel@gnu.org; Sun, 20 Mar 2016 06:04:52 -0400 Received: by mail-oi0-x22e.google.com with SMTP id r187so120332178oih.3 for ; Sun, 20 Mar 2016 03:04:52 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Hi, I recently learned about guix and I haven't found any information on approaching deterministic builds by changing library and kernel functions to have deterministic behavior. Has anybody done this? For example, I would imagine if I needed timestamps to no longer be a factor, I might change how the current time is reported to the build environment, such that it is always precisely equal to the time of last modification of the source package. Similarly /dev/*random should return deterministic numbers seeded by perhaps the hash of the source package and all dependencies. Has there been a discussion of this somewhere?