summaryrefslogtreecommitdiff
path: root/gnu/packages/containers.scm
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-10-23 11:56:16 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-10-23 23:56:24 +0800
commit962874d6a2b91a1275a89f7580495b1b2a69fa9a (patch)
tree178b1f5bfb00b2947cfca04cca42a93237ca4df3 /gnu/packages/containers.scm
parent7218e09d9de9051427e0d73bc70be104b2191d62 (diff)
gnu: crun: Use G-expressions.
* gnu/packages/containers.scm (crun)[arguments]: Rewrite as G-expressions. Change-Id: I3534069bfa07793d55c1bcc40594ad1dd89f2143
Diffstat (limited to 'gnu/packages/containers.scm')
-rw-r--r--gnu/packages/containers.scm25
1 files changed, 13 insertions, 12 deletions
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index a76d203ee2..af8a4c4291 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -80,18 +80,19 @@
"0alhcdbb83bsqnvy50p9cjnmslxfmxsyk1b66whd62p5a2rp0fx8"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags '("--disable-systemd")
- #:tests? #f ; XXX: needs /sys/fs/cgroup mounted
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-tests
- (lambda _
- (substitute* (find-files "tests" "\\.(c|py)")
- (("/bin/true") (which "true"))
- (("/bin/false") (which "false"))
- ; relies on sd_notify which requires systemd?
- (("\"sd-notify\" : test_sd_notify,") "")
- (("\"sd-notify-file\" : test_sd_notify_file,") "")))))))
+ (list
+ #:configure-flags #~(list "--disable-systemd")
+ #:tests? #f ; XXX: needs /sys/fs/cgroup mounted
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (substitute* (find-files "tests" "\\.(c|py)")
+ (("/bin/true") (which "true"))
+ (("/bin/false") (which "false"))
+ ;; relies on sd_notify which requires systemd?
+ (("\"sd-notify\" : test_sd_notify,") "")
+ (("\"sd-notify-file\" : test_sd_notify_file,") "")))))))
(inputs
(list libcap
libseccomp