summaryrefslogtreecommitdiff
path: root/guix/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-04 22:19:30 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-04 22:19:30 +0200
commit185f669109eb56b61c3d51dc8b2e3eeded9b2be9 (patch)
tree8024e91e4f644e3de117307fe4c08510f820ad41 /guix/build
parent3d116a70f9b18027b31be2e11e8c9c9192622607 (diff)
downloadguix-patches-185f669109eb56b61c3d51dc8b2e3eeded9b2be9.tar
guix-patches-185f669109eb56b61c3d51dc8b2e3eeded9b2be9.tar.gz
services: Make sure the store's group is the build group.
* gnu/services/base.scm (guix-service)[activate]: New variable. Add 'chown' call for (%store-prefix). Set the 'activate' field to ACTIVATE. * guix/build/install.scm (directives): Add comment about STORE's group.
Diffstat (limited to 'guix/build')
-rw-r--r--guix/build/install.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/build/install.scm b/guix/build/install.scm
index afa7d1dd8f..ea787b63e2 100644
--- a/guix/build/install.scm
+++ b/guix/build/install.scm
@@ -73,7 +73,10 @@ directory TARGET."
(define (directives store)
"Return a list of directives to populate the root file system that will host
STORE."
- `((directory ,store 0 0)
+ `(;; Note: The store's group is changed to the "guixbuild" group at
+ ;; activation time.
+ (directory ,store 0 0)
+
(directory "/etc")
(directory "/var/log") ; for dmd
(directory "/var/guix/gcroots")