aboutsummaryrefslogtreecommitdiff
path: root/meson.options
blob: 50b1d8553b7f9e03bd782fbf6c2ea88642ecfd0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# vim: filetype=meson
option('gc', type : 'feature',
  description : 'enable garbage collection in the Nix expression evaluator (requires Boehm GC)',
)
# TODO(Qyriad): is this feature maintained?
option('embedded-sandbox-shell', type : 'feature',
  description : 'include the sandbox shell in the Nix binary',
)

option('cpuid', type : 'feature',
  description : 'determine microarchitecture levels with libcpuid (only relevant on x86_64)',
)

option('seccomp-sandboxing', type : 'feature',
  description : 'build support for seccomp sandboxing (recommended unless your arch doesn\'t support libseccomp, only relevant on Linux)',
)

option('sandbox-shell', type : 'string', value : 'busybox',
  description : 'path to a statically-linked shell to use as /bin/sh in sandboxes (usually busybox)',
)

option('store-dir', type : 'string', value : '/nix/store',
  description : 'path of the Nix store',
)

option('state-dir', type : 'string', value : '/nix/var/nix',
  description : 'path to store state in for Nix',
)

option('log-dir', type : 'string', value : '/nix/var/log',
  description : 'path to store logs in for Nix',
)