mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
build-system/dub: Avoid usage of (guix build syscalls).
* guix/build/dub-build-system.scm (configure): Use MKDTEMP instead of MKDTEMP!.
This commit is contained in:
parent
8b2a9be465
commit
bdfa795c98
1 changed files with 1 additions and 2 deletions
|
@ -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 @@ (define* (configure #:key inputs #:allow-other-keys)
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue