guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 05/11: gnu: maven-model: Avoid usage of (guix build syscalls).
Date: Fri, 11 Nov 2022 12:20:07 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 94913eabbb9f1f3772867bf14e9f9d5e15bc2a6d
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Nov 3 20:52:43 2022 +0100

    gnu: maven-model: Avoid usage of (guix build syscalls).
    
    * gnu/packages/maven.scm (maven-3.0-model)[arguments]: Use MKDTEMP instead 
of
    MKDTEMP!.
---
 gnu/packages/maven.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index d3e5677669..b73fef79ba 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2319,7 +2319,6 @@ reporting or the build process.")))
        #: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 @@ reporting or the build process.")))
              ;; 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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]