guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: cubicle: Make deterministic.


From: guix-commits
Subject: 02/02: gnu: cubicle: Make deterministic.
Date: Sat, 19 Jun 2021 06:54:50 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 0e8a18f0ec9a46a0d4f33e0ec33bed6e7639d03e
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 19 12:53:32 2021 +0200

    gnu: cubicle: Make deterministic.
    
    * gnu/packages/ocaml.scm (cubicle)[arguments]: Remove build date from
    resulting binary.
---
 gnu/packages/ocaml.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 3c781d5..4510aff 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4710,6 +4710,10 @@ the OCaml language.")
        #:tests? #f
        #:phases
        (modify-phases %standard-phases
+         (add-before 'configure 'make-deterministic
+           (lambda _
+             (substitute* "Makefile.in"
+               (("`date`") "no date for reproducibility"))))
          (add-before 'configure 'configure-for-release
            (lambda _
              (substitute* "Makefile.in"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]