diff options
Diffstat (limited to 'nix/libstore/globals.hh')
-rw-r--r-- | nix/libstore/globals.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/libstore/globals.hh b/nix/libstore/globals.hh index 27616a2283..7cfa06e76c 100644 --- a/nix/libstore/globals.hh +++ b/nix/libstore/globals.hh @@ -206,6 +206,15 @@ struct Settings { /* Whether to show a stack trace if Nix evaluation fails. */ bool showTrace; + /* Whether fixed-output chroot builds should be able to use the host + loopback, for example to access a socks proxy. Note that while using + "localhost" and 127.0.0.1 to access the host loopback will work, using + ::1 will not, due to a limitation in Linux. */ + bool useHostLoopback; + + /* The filename to use for executing slirp4netns when it is needed. */ + Path slirp4netns; + private: SettingsMap settings, overrides; |