diff options
author | Marius Bakke <marius@gnu.org> | 2022-11-03 20:51:34 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-11 18:09:58 +0100 |
commit | bdfa795c980b8562ed45672187babc7be3bde150 (patch) | |
tree | bf7afb395c2035398553b61540da133819556457 | |
parent | 8b2a9be465a5b8c8ecf796b3c3f9f14b673f1f66 (diff) | |
download | guix-bdfa795c980b8562ed45672187babc7be3bde150.tar.gz |
build-system/dub: Avoid usage of (guix build syscalls).
* guix/build/dub-build-system.scm (configure): Use MKDTEMP instead of MKDTEMP!.
-rw-r--r-- | guix/build/dub-build-system.scm | 3 |
1 files changed, 1 insertions, 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) |