diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-08-30 12:00:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-08-30 12:00:52 +0200 |
commit | 4af1876ebfc1947d154f1cffc3885bb3c732f7ea (patch) | |
tree | 85df8dade508f95d1aa9de0db643c419da85ec19 /gnu/packages/smalltalk.scm | |
parent | ef380d72ced7fe9b2e6417d2263b587b546c8a39 (diff) | |
download | guix-4af1876ebfc1947d154f1cffc3885bb3c732f7ea.tar guix-4af1876ebfc1947d154f1cffc3885bb3c732f7ea.tar.gz |
gnu: squeak-vm: Make builds bit-reproducible.
* gnu/packages/smalltalk.scm (squeak-vm)[source]: Add 'snippet'.
Diffstat (limited to 'gnu/packages/smalltalk.scm')
-rw-r--r-- | gnu/packages/smalltalk.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm index 414c17b46c..675ca0ce5e 100644 --- a/gnu/packages/smalltalk.scm +++ b/gnu/packages/smalltalk.scm @@ -87,7 +87,19 @@ such as ones for networking and GUI programming.") "Squeak-" version "-src.tar.gz")) (sha256 (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 `(("alsa-lib" ,alsa-lib) ("dbus" ,dbus) |