diff options
Diffstat (limited to 'gnu/services/base.scm')
| -rw-r--r-- | gnu/services/base.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index feca7ecce91..4bc47f2f5d9 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li> | 21 | ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li> |
| 22 | ;;; Copyright © 2022 ( <paren@disroot.org> | 22 | ;;; Copyright © 2022 ( <paren@disroot.org> |
| 23 | ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu> | 23 | ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu> |
| 24 | ;;; Copyright © 2024 Andreas Enge <andreas@enge.fr> | ||
| 24 | ;;; | 25 | ;;; |
| 25 | ;;; This file is part of GNU Guix. | 26 | ;;; This file is part of GNU Guix. |
| 26 | ;;; | 27 | ;;; |
| @@ -213,6 +214,7 @@ | |||
| 213 | guix-configuration-build-group | 214 | guix-configuration-build-group |
| 214 | guix-configuration-build-accounts | 215 | guix-configuration-build-accounts |
| 215 | guix-configuration-build-machines | 216 | guix-configuration-build-machines |
| 217 | guix-configuration-chroot? | ||
| 216 | guix-configuration-authorize-key? | 218 | guix-configuration-authorize-key? |
| 217 | guix-configuration-authorized-keys | 219 | guix-configuration-authorized-keys |
| 218 | guix-configuration-use-substitutes? | 220 | guix-configuration-use-substitutes? |
| @@ -1849,6 +1851,8 @@ archive' public keys, with GUIX." | |||
| 1849 | (default "guixbuild")) | 1851 | (default "guixbuild")) |
| 1850 | (build-accounts guix-configuration-build-accounts ;integer | 1852 | (build-accounts guix-configuration-build-accounts ;integer |
| 1851 | (default 10)) | 1853 | (default 10)) |
| 1854 | (chroot? guix-configuration-chroot? ;Boolean | 'default | ||
| 1855 | (default 'default)) | ||
| 1852 | (authorize-key? guix-configuration-authorize-key? ;Boolean | 1856 | (authorize-key? guix-configuration-authorize-key? ;Boolean |
| 1853 | (default #t)) | 1857 | (default #t)) |
| 1854 | (authorized-keys guix-configuration-authorized-keys ;list of gexps | 1858 | (authorized-keys guix-configuration-authorized-keys ;list of gexps |
| @@ -1943,7 +1947,7 @@ proxy of 'guix-daemon'...~%") | |||
| 1943 | glibc-utf8-locales))) | 1947 | glibc-utf8-locales))) |
| 1944 | 1948 | ||
| 1945 | (match-record config <guix-configuration> | 1949 | (match-record config <guix-configuration> |
| 1946 | (guix build-group build-accounts authorize-key? authorized-keys | 1950 | (guix build-group build-accounts chroot? authorize-key? authorized-keys |
| 1947 | use-substitutes? substitute-urls max-silent-time timeout | 1951 | use-substitutes? substitute-urls max-silent-time timeout |
| 1948 | log-compression discover? extra-options log-file | 1952 | log-compression discover? extra-options log-file |
| 1949 | http-proxy tmpdir chroot-directories environment) | 1953 | http-proxy tmpdir chroot-directories environment) |
| @@ -1990,6 +1994,9 @@ proxy of 'guix-daemon'...~%") | |||
| 1990 | "--substitute-urls" #$(string-join substitute-urls) | 1994 | "--substitute-urls" #$(string-join substitute-urls) |
| 1991 | #$@extra-options | 1995 | #$@extra-options |
| 1992 | 1996 | ||
| 1997 | #$@(if chroot? | ||
| 1998 | '() | ||
| 1999 | '("--disable-chroot")) | ||
| 1993 | ;; Add CHROOT-DIRECTORIES and all their dependencies | 2000 | ;; Add CHROOT-DIRECTORIES and all their dependencies |
| 1994 | ;; (if these are store items) to the chroot. | 2001 | ;; (if these are store items) to the chroot. |
| 1995 | (append-map | 2002 | (append-map |
