guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 251fa102b46fa79fd0a1aea0b5ec7f37d0852c44
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Sun Jun 15 21:59:23 2025 +0200
gnu: [email protected]: Enable resx2sr installation.
* gnu/packages/dotnet.scm
(mono-6.12.0)[arguments]<#:phases>[enable-resx2sr-installation]:
New phase.
Change-Id: I75c85b37eb15359455481bd271bba8146321f97d
---
gnu/packages/dotnet.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm
index 08328709f5..3ba20f8ba5 100644
--- a/gnu/packages/dotnet.scm
+++ b/gnu/packages/dotnet.scm
@@ -1879,6 +1879,11 @@ most of the heavy lifting.")
(apply invoke "make" "-j" (number->string
(parallel-job-count))
"CSC=mcs" make-flags)))))
+ (add-after 'unpack 'enable-resx2sr-installation
+ (lambda* (#:key make-flags #:allow-other-keys)
+ (substitute* "mcs/tools/resx2sr/Makefile"
+ (("^NO_INSTALL = .*")
+ "NO_INSTALL = \n"))))
(replace 'check
(lambda* (#:key tests? (make-flags '()) #:allow-other-keys)
(when tests?