diff options
author | Qyriad <qyriad@qyriad.me> | 2024-04-17 23:27:15 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-04-18 10:45:27 -0600 |
commit | 077f45ee389643b04a6f0ee15ace8cda775a734a (patch) | |
tree | 5064bbbf333ba26a88fc9f28942223827242be81 | |
parent | cf0744ceed3b70114ea7b832ae0d02b72d2abfe5 (diff) |
meson: correctly set -DSANDBOX_SHELL if we have it
The statically embedded busybox is not required for Lix to work, but
package.nix explicitly sets this, which was accidentally being ignored.
Change-Id: Ieeff830ac7d1f5fabe84d1a6cfd82f13d79035bf
-rw-r--r-- | src/libstore/meson.build | 6 |
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 |