summary refs log tree commit diff
path: root/gnu/packages/maven-parent-pom.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2021-12-04 20:12:28 +0100
committerJulien Lepiller <julien@lepiller.eu>2021-12-04 22:06:41 +0100
commit2aee138485c429db585cf2adc194e7c9203958e3 (patch)
treec41ac9903d814e86455621d6b5f4aae5023227de /gnu/packages/maven-parent-pom.scm
parentd29f14aca2d3dcb1bdbd214d33924ec4cb694793 (diff)
downloadguix-2aee138485c429db585cf2adc194e7c9203958e3.tar.gz
gnu: maven-components-parent-pom-22: Remove references to %build-inputs.
* gnu/packages/maven-parent-pom.scm (maven-components-parent-pom-22)
[arguments]: Use a gexp to remove references to %build-inputs.
Diffstat (limited to 'gnu/packages/maven-parent-pom.scm')
-rw-r--r--gnu/packages/maven-parent-pom.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/maven-parent-pom.scm b/gnu/packages/maven-parent-pom.scm
index 27f0926348..8df4d9710b 100644
--- a/gnu/packages/maven-parent-pom.scm
+++ b/gnu/packages/maven-parent-pom.scm
@@ -518,14 +518,15 @@ tool.  This package contains the Maven parent POM.")
                   "11skhrjgrrs6z5rw1w39ap1pzhrc99g0czip10kz7wsavg746ibm"))))
       (build-system ant-build-system)
       (arguments
-       `(#:tests? #f
+       (list
+         #:tests? #f
          #:phases
-         (modify-phases %standard-phases
-           (delete 'unpack)
-           (delete 'build)
-           (delete 'configure)
-           (replace 'install
-             (install-pom-file (assoc-ref %build-inputs "source"))))))
+         #~(modify-phases %standard-phases
+             (delete 'unpack)
+             (delete 'build)
+             (delete 'configure)
+             (replace 'install
+               (install-pom-file #$(package-source this-package))))))
       (propagated-inputs
        `(("maven-parent-pom-27" ,maven-parent-pom-27)))
       (home-page "https://apache.org/maven")