diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-06-10 17:15:08 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-23 23:05:44 +0100 |
| commit | fd256bb786929e308862000e21d5c7951fababab (patch) | |
| tree | 38a91e66f3fc87dc396ce559143e9abfeb5d33ae /gnu/packages/dotnet.scm | |
| parent | 4f10384b546bb93b7dd06ae3b99a60c7c15f1d59 (diff) | |
gnu: mono@2.4.2.3: Make it reproducible.
* gnu/packages/patches/mono-2.4.2.3-fix-parallel-builds.patch: New file.
* gnu/packages/patches/mono-2.4.2.3-reproducibility.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add references to those patches.
* gnu/packages/dotnet.scm (mono-2.4.2.3)[source]: Use those patches.
[arguments]<#:phases>[disable-mono-mini-timestamps]: New phase.
Change-Id: Ib0a57d2e93b8b72c10fa9854a77eadeee578266c
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/dotnet.scm')
| -rw-r--r-- | gnu/packages/dotnet.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm index 3ee9cab76fc..f98a4b3b8dd 100644 --- a/gnu/packages/dotnet.scm +++ b/gnu/packages/dotnet.scm @@ -497,7 +497,9 @@ a C-style programming language from Microsoft that is very similar to Java.") (modules '((guix build utils) (ice-9 string-fun))) (snippet prepare-mono-source) - (patches (search-patches "mono-2.4.2.3-fixes.patch")))) + (patches (search-patches "mono-2.4.2.3-reproducibility.patch" + "mono-2.4.2.3-fixes.patch" + "mono-2.4.2.3-fix-parallel-builds.patch")))) (native-inputs (modify-inputs (package-native-inputs mono-1.9.1) (replace "mono" mono-1.9.1))) (inputs (modify-inputs (package-inputs mono-1.9.1) @@ -513,6 +515,13 @@ a C-style programming language from Microsoft that is very similar to Java.") #f) ((#:phases phases #~%standard-phases) #~(modify-phases #$phases + (add-after 'unpack 'disable-mono-mini-timestamps + (lambda _ + ;; Note: Newer monos have mono/mini/Makefile.am.in . + (substitute* '("mono/mini/Makefile.am") + (("`date`") + ;; This timestamp is the same as SOURCE_DATE_EPOCH. + "Tue Jan 1 12:00:00 AM UTC 1980")))) (add-before 'bootstrap 'patch-sub-autogen.sh-shebang (lambda _ (patch-shebang "eglib/autogen.sh"))))))) |
