3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: maven-model: Avoid usage of (guix build syscalls).

* gnu/packages/maven.scm (maven-3.0-model)[arguments]: Use MKDTEMP instead of
MKDTEMP!.
This commit is contained in:
Marius Bakke 2022-11-03 20:52:43 +01:00
parent bdfa795c98
commit 94913eabbb
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -2319,7 +2319,6 @@ reporting or the build process.")))
#:modules #:modules
((guix build ant-build-system) ((guix build ant-build-system)
(guix build java-utils) (guix build java-utils)
(guix build syscalls)
(guix build utils)) (guix build utils))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -2328,7 +2327,7 @@ reporting or the build process.")))
;; The model has almost not changed, but the newer version is ;; The model has almost not changed, but the newer version is
;; needed to prevent an error in the newer modello we have ;; needed to prevent an error in the newer modello we have
(let ((source (assoc-ref inputs "maven-source")) (let ((source (assoc-ref inputs "maven-source"))
(dir (mkdtemp! "maven-source-XXXXXXXX"))) (dir (mkdtemp "maven-source-XXXXXXXX")))
(with-directory-excursion dir (with-directory-excursion dir
(invoke "tar" "xf" source) (invoke "tar" "xf" source)
(copy-file (car (find-files "." "maven.mdo")) (copy-file (car (find-files "." "maven.mdo"))