aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstore/meson.build b/src/libstore/meson.build
index 652860872..fbf818825 100644
--- a/src/libstore/meson.build
+++ b/src/libstore/meson.build
@@ -156,6 +156,12 @@ cpp_str_defines = {
'NIX_MAN_DIR': mandir,
}
+if busybox.found()
+ cpp_str_defines += {
+ 'SANDBOX_SHELL': busybox.full_path()
+ }
+endif
+
cpp_args = []
foreach name, value : cpp_str_defines