mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: squeak-vm: Make builds bit-reproducible.
* gnu/packages/smalltalk.scm (squeak-vm)[source]: Add 'snippet'.
This commit is contained in:
parent
ef380d72ce
commit
4af1876ebf
1 changed files with 13 additions and 1 deletions
|
@ -87,7 +87,19 @@ (define-public squeak-vm
|
||||||
"Squeak-" version "-src.tar.gz"))
|
"Squeak-" version "-src.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0bpwbnpy2sb4gylchfx50sha70z36bwgdxraym4vrr93l8pd3dix"))))
|
"0bpwbnpy2sb4gylchfx50sha70z36bwgdxraym4vrr93l8pd3dix"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Make builds bit-reproducible.
|
||||||
|
'(begin
|
||||||
|
(substitute* "unix/cmake/verstamp"
|
||||||
|
(("vm_date=.*")
|
||||||
|
"vm_date = \"1970-01-01\";\n")
|
||||||
|
(("ux_version=.*")
|
||||||
|
"ux_version = \"GNU\";\n"))
|
||||||
|
(substitute* "unix/vm/config.cmake"
|
||||||
|
(("\\(VM_BUILD_STRING.*")
|
||||||
|
"(VM_BUILD_STRING \\\"Built with GNU Guix\\\")"))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
("dbus" ,dbus)
|
("dbus" ,dbus)
|
||||||
|
|
Loading…
Reference in a new issue