roptat pushed a commit to branch core-updates-frozen
in repository guix.
commit d29f14aca2d3dcb1bdbd214d33924ec4cb694793
Author: Julien Lepiller <[email protected]>
AuthorDate: Sat Dec 4 20:10:23 2021 +0100
gnu: java-sonatype-oss-parent-pom-9: Remove references to %build-inputs.
* gnu/packages/maven-parent-pom.scm (java-sonatype-oss-parent-pom-9)
[arguments]: Use a gexp to remove references to %build-inputs.
---
gnu/packages/maven-parent-pom.scm | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/maven-parent-pom.scm
b/gnu/packages/maven-parent-pom.scm
index 84af3a1..27f0926 100644
--- a/gnu/packages/maven-parent-pom.scm
+++ b/gnu/packages/maven-parent-pom.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2020 Julien Lepiller <[email protected]>
+;;; Copyright © 2020, 2021 Julien Lepiller <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,6 +20,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system ant)
@@ -321,14 +322,15 @@ other projects as their parent pom.")
(base32
"0yl2hbwz2kn1hll1i00ddzn8f89bfdcjwdifz0pj2j15k1gjch7v"))))
(arguments
- `(#:tests? #f
+ (list
+ #:tests? #f
#:phases
- (modify-phases %standard-phases
- (delete 'unpack)
- (delete 'configure)
- (delete 'build)
- (replace 'install
- (install-pom-file (assoc-ref %build-inputs "source")))))))))
+ #~(modify-phases %standard-phases
+ (delete 'unpack)
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (install-pom-file #$(package-source this-package)))))))))
(define* (make-plexus-parent-pom version hash #:optional parent)
(hidden-package