gnu: vim: Make builds bit-reproducable.
* gnu/packages/vim.scm (vim)[arguments]: Remove the compiled date.master
parent
db3cc007e3
commit
f51940b0f5
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
||||||
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -45,6 +46,13 @@
|
||||||
#:parallel-tests? #f
|
#:parallel-tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'configure 'patch-config-files
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "runtime/tools/mve.awk"
|
(substitute* "runtime/tools/mve.awk"
|
||||||
|
|
Reference in New Issue