mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05: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:
parent
bdfa795c98
commit
94913eabbb
1 changed files with 1 additions and 2 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue