summaryrefslogtreecommitdiff
path: root/gnu/packages/ocaml.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2021-06-19 12:53:32 +0200
committerJulien Lepiller <julien@lepiller.eu>2021-06-19 12:54:32 +0200
commit0e8a18f0ec9a46a0d4f33e0ec33bed6e7639d03e (patch)
tree6cb8e668cbe0ff5eb3eed866cb985c04678ac506 /gnu/packages/ocaml.scm
parent9417fae9fb21772a86f0d279f019b0caf2d71e77 (diff)
gnu: cubicle: Make deterministic.
* gnu/packages/ocaml.scm (cubicle)[arguments]: Remove build date from resulting binary.
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r--gnu/packages/ocaml.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 3c781d51e4..4510affe0f 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"