summaryrefslogtreecommitdiff
path: root/daemon.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-14 18:15:37 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-14 18:15:37 +0100
commite1b7096acdd3dedbdca92a6d20ade94b21d8561d (patch)
treefb72d4fb70e265033bd66793446c1af9f0cd969d /daemon.am
parentb3a53fb3610ff23b75f11d58325110d29451a726 (diff)
downloadpatches-e1b7096acdd3dedbdca92a6d20ade94b21d8561d.tar
patches-e1b7096acdd3dedbdca92a6d20ade94b21d8561d.tar.gz
daemon: Build `nix-setuid-helper'.
* daemon.am (libexec_PROGRAMS, nix_setuid_helper_SOURCES, nix_setuid_helper_CPPFLAGS, nix_setuid_helper_LDADD): New variables. * test-env.in: Set and export `NIX_SETUID_HELPER'. * README (Installing Guix as non-root): New section.
Diffstat (limited to 'daemon.am')
-rw-r--r--daemon.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/daemon.am b/daemon.am
index aa75c6ed29..26b07c4105 100644
--- a/daemon.am
+++ b/daemon.am
@@ -136,6 +136,16 @@ guix_daemon_LDADD = \
guix_daemon_headers = \
nix/nix-daemon/shared.hh
+libexec_PROGRAMS = nix-setuid-helper
+nix_setuid_helper_SOURCES = \
+ nix/nix-setuid-helper/nix-setuid-helper.cc
+
+nix_setuid_helper_CPPFLAGS = \
+ $(libutil_a_CPPFLAGS)
+
+nix_setuid_helper_LDADD = \
+ libutil.a libformat.a
+
noinst_HEADERS = \
$(libformat_headers) $(libutil_headers) $(libstore_headers) \
$(guix_daemon_headers)