aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-05-10 22:29:10 +0200
committerLudovic Courtès <ludo@gnu.org>2019-05-15 16:36:21 +0200
commit9fcfe30d283cd7d36c6e292ea1235eb24307b003 (patch)
tree8e1199097f7f7e285d8d41f17d89c0b1cf6d175b /gnu/tests
parent3f9bed04f031a4d4f8d3b6dc0a4de42b0c628496 (diff)
downloadpatches-9fcfe30d283cd7d36c6e292ea1235eb24307b003.tar
patches-9fcfe30d283cd7d36c6e292ea1235eb24307b003.tar.gz
system: Add 'operating-system-with-gc-roots'.
* gnu/tests/install.scm (operating-system-with-gc-roots): Move to... * gnu/system.scm (operating-system-with-gc-roots): ... here. New procedure.
Diffstat (limited to 'gnu/tests')
-rw-r--r--gnu/tests/install.scm11
1 files changed, 0 insertions, 11 deletions
diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
index 430a102378..7b5ee18505 100644
--- a/gnu/tests/install.scm
+++ b/gnu/tests/install.scm
@@ -123,17 +123,6 @@
(inherit config)
(guix (current-guix))))))))
-(define (operating-system-with-gc-roots os roots)
- "Return a variant of OS where ROOTS are registered as GC roots."
- (operating-system
- (inherit os)
-
- ;; We use this procedure for the installation OS, which already defines GC
- ;; roots. Add ROOTS to those.
- (services (cons (simple-service 'extra-root
- gc-root-service-type roots)
- (operating-system-user-services os)))))
-
(define MiB (expt 2 20))