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:
parent
bdfa795c98
commit
94913eabbb
@ -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"))
|
||||||
|
Loading…
Reference in New Issue
Block a user