1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: mono@6.12.0: Enable resx2sr installation.

* gnu/packages/dotnet.scm (mono-6.12.0)[arguments]<#:phases>[enable-resx2sr-installation]:
New phase.

Change-Id: I75c85b37eb15359455481bd271bba8146321f97d
This commit is contained in:
Danny Milosavljevic 2025-06-15 21:59:23 +02:00
parent 4a19a102e9
commit 251fa102b4
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -1879,6 +1879,11 @@ most of the heavy lifting.")
(apply invoke "make" "-j" (number->string (apply invoke "make" "-j" (number->string
(parallel-job-count)) (parallel-job-count))
"CSC=mcs" make-flags))))) "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 (replace 'check
(lambda* (#:key tests? (make-flags '()) #:allow-other-keys) (lambda* (#:key tests? (make-flags '()) #:allow-other-keys)
(when tests? (when tests?