about summary refs log tree commit diff
path: root/src/libstore/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-04T16·00+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-04T16·00+0200
commitd5a076c36f6588366fd9766c1054807bbbfd8559 (patch)
treea22f662fca27e2ae43bf87aa5c81288cd704a538 /src/libstore/local.mk
parent4d73e2e893850d032770373b026854228c61dc8e (diff)
Add option ‘build-extra-chroot-dirs’
This is useful for extending (rather than overriding) the default set
of chroot paths.
Diffstat (limited to 'src/libstore/local.mk')
-rw-r--r--src/libstore/local.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk
index 64dbfa3c5b0e..180088d3df8c 100644
--- a/src/libstore/local.mk
+++ b/src/libstore/local.mk
@@ -21,7 +21,8 @@ libstore_CXXFLAGS = \
  -DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \
  -DNIX_CONF_DIR=\"$(sysconfdir)/nix\" \
  -DNIX_LIBEXEC_DIR=\"$(libexecdir)\" \
- -DNIX_BIN_DIR=\"$(bindir)\"
+ -DNIX_BIN_DIR=\"$(bindir)\" \
+ -DDEFAULT_CHROOT_DIRS="\"$(DEFAULT_CHROOT_DIRS)\""
 
 $(d)/local-store.cc: $(d)/schema.sql.hh