aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-09-12 21:52:17 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-09-12 21:54:05 +0300
commitf51940b0f57fd5657f5ae0f6fa6f8b8b55f1dec7 (patch)
tree6aabaecb590de1340af5c4583adda85fe11c5ef3 /gnu
parentdb3cc007e38daf919bdc6a21e048b2d0c32f15e5 (diff)
downloadguix-f51940b0f57fd5657f5ae0f6fa6f8b8b55f1dec7.tar
guix-f51940b0f57fd5657f5ae0f6fa6f8b8b55f1dec7.tar.gz
gnu: vim: Make builds bit-reproducable.
* gnu/packages/vim.scm (vim)[arguments]: Remove the compiled date.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/vim.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 68c95d09ce..b1ee527c7a 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
+;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -45,6 +46,13 @@
#:parallel-tests? #f
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'make-bit-reproducable
+ (lambda _
+ (substitute* "src/version.c"
+ ((" VIM_VERSION_LONG_DATE") " VIM_VERSION_LONG")
+ ((" __DATE__") "")
+ ((" __TIME__") ""))
+ #t))
(add-after 'configure 'patch-config-files
(lambda _
(substitute* "runtime/tools/mve.awk"