guix-commits
[Top][All Lists]
Advanced

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

04/11: build-system/dub: Avoid usage of (guix build syscalls).


From: guix-commits
Subject: 04/11: build-system/dub: 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 bdfa795c980b8562ed45672187babc7be3bde150
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Nov 3 20:51:34 2022 +0100

    build-system/dub: Avoid usage of (guix build syscalls).
    
    * guix/build/dub-build-system.scm (configure): Use MKDTEMP instead of 
MKDTEMP!.
---
 guix/build/dub-build-system.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/guix/build/dub-build-system.scm b/guix/build/dub-build-system.scm
index 9ee0433ffd..c9bc2af3a5 100644
--- a/guix/build/dub-build-system.scm
+++ b/guix/build/dub-build-system.scm
@@ -20,7 +20,6 @@
 
 (define-module (guix build dub-build-system)
   #:use-module ((guix build gnu-build-system) #:prefix gnu:)
-  #:use-module (guix build syscalls)
   #:use-module (guix build utils)
   #:use-module (ice-9 popen)
   #:use-module (ice-9 rdelim)
@@ -52,7 +51,7 @@
 to do this (instead of just using /gnu/store as the directory) because we want
 to hide the libraries in subdirectories lib/dub/... instead of polluting the
 user's profile root."
-  (let* ((dir (mkdtemp! "/tmp/dub.XXXXXX"))
+  (let* ((dir (mkdtemp "/tmp/dub.XXXXXX"))
          (vendor-dir (string-append dir "/vendor")))
     (setenv "HOME" dir)
     (mkdir vendor-dir)



reply via email to

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