2024-03-10 03:29:51 +00:00
|
|
|
# vim: filetype=meson
|
2024-03-12 20:05:36 +00:00
|
|
|
option('gc', type : 'feature',
|
2024-03-10 03:29:51 +00:00
|
|
|
description : 'enable garbage collection in the Nix expression evaluator (requires Boehm GC)',
|
|
|
|
)
|
|
|
|
# TODO(Qyriad): is this feature maintained?
|
2024-03-12 20:05:36 +00:00
|
|
|
option('embedded-sandbox-shell', type : 'feature',
|
2024-03-10 03:29:51 +00:00
|
|
|
description : 'include the sandbox shell in the Nix bindary',
|
|
|
|
)
|
|
|
|
|
2024-03-12 20:05:36 +00:00
|
|
|
option('cpuid', type : 'feature',
|
2024-03-10 03:29:51 +00:00
|
|
|
description : 'determine microarchitecture levels with libcpuid (only relevant on x86_64)',
|
|
|
|
)
|
|
|
|
|
2024-03-12 20:05:36 +00:00
|
|
|
option('seccomp-sandboxing', type : 'feature',
|
2024-03-10 03:29:51 +00:00
|
|
|
description : 'build support for seccomp sandboxing (recommended unless your arch doesn\'t support libseccomp, only relevant on Linux)',
|
|
|
|
)
|
2024-03-12 20:05:36 +00:00
|
|
|
|
|
|
|
option('store-dir', type : 'string', value : '/nix/store',
|
|
|
|
description : 'path of the Nix store',
|
|
|
|
)
|
|
|
|
|
|
|
|
option('sandbox-shell', type : 'string',
|
|
|
|
description : 'path to a statically-linked shell to use as /bin/sh in sandboxes (usually busybox)',
|
|
|
|
)
|