guix_mirror_bot pushed a commit to branch master
in repository guix.

commit b30fb9e4c80aa18b7ece6d76e0021b35b7068ee2
Author: Arun Isaac <[email protected]>
AuthorDate: Sat Mar 7 23:00:44 2026 +0000

    gnu: java-saxon-he: Copy resources.
    
    * gnu/packages/java-xml.scm (java-saxon-he)[arguments]: Add copy-resources
    phase.
    
    Change-Id: Ic05e22f24aac8d59cbfd8f0e43ae84e4d1ccbfd2
---
 gnu/packages/java-xml.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/java-xml.scm b/gnu/packages/java-xml.scm
index 3523eb33b2..d6e3ae218e 100644
--- a/gnu/packages/java-xml.scm
+++ b/gnu/packages/java-xml.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2022 Christopher Baines <[email protected]>
 ;;; Copyright © 2023 Frank Pursel <[email protected]>
 ;;; Copyright © 2024, 2025 Hartmut Goebel <[email protected]>
+;;; Copyright © 2026 Arun Isaac <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -995,8 +996,14 @@ Weaver, anyhow not depending on depending on the Axiom 
API.")
                 "17dx6w48ka3d1g20qisvafbc1rmnvfg0vnm8zfz4vkhqfjbkp6j8"))))
     (build-system ant-build-system)
     (arguments
-     `(#:tests? #f  ;; tests are not included in release archives
-       #:jar-name "saxon-he.jar"))
+     (list #:tests? #f  ;; tests are not included in release archives
+           #:jar-name "saxon-he.jar"
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'build 'copy-resources
+                 (lambda _
+                   (copy-recursively "src/net/sf/saxon/data"
+                                     "build/classes/net/sf/saxon/data"))))))
     (native-inputs (list unzip))
     (inputs
      (list java-axiom-impl

Reply via email to