diff options
author | Marius Bakke <marius@gnu.org> | 2022-11-03 20:50:49 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-11 18:09:58 +0100 |
commit | 8b2a9be465a5b8c8ecf796b3c3f9f14b673f1f66 (patch) | |
tree | 2144b3609ac2a1144675a6d1bd0dbf697855b475 /guix | |
parent | d899e9351df7658a1284b598e505f8b26d69204a (diff) |
build-system/clojure: Avoid usage of (guix build sycalls).
* guix/build/clojure-build-system.scm (reset-class-timestamps): Use MKDTEMP
from Guile core instead of MKDTEMP!.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/build/clojure-build-system.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/guix/build/clojure-build-system.scm b/guix/build/clojure-build-system.scm index cacbefb386..2cb153b6db 100644 --- a/guix/build/clojure-build-system.scm +++ b/guix/build/clojure-build-system.scm @@ -22,7 +22,6 @@ ant-build)) #:use-module (guix build clojure-utils) #:use-module (guix build java-utils) - #:use-module (guix build syscalls) #:use-module (guix build utils) #:use-module (ice-9 match) #:use-module (ice-9 regex) @@ -129,7 +128,7 @@ and repack them. This is necessary to ensure that archives are reproducible." ;; Note: .class files need to be strictly newer than source files, ;; otherwise the Clojure compiler will recompile sources. (let* ((early-1980 315619200) ; 1980-01-02 UTC - (dir (mkdtemp! "jar-contents.XXXXXX")) + (dir (mkdtemp "jar-contents.XXXXXX")) (manifest (string-append dir "/META-INF/MANIFEST.MF"))) (with-directory-excursion dir (invoke "jar" "xf" jar)) |