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