Nix/src
Rebecca Turner 3a124d1e88
Increase stack size on macOS as well as Linux
The code works fine on macOS, but the default stack size we attempt to
set is larger than what my system will allow (Nix attempts to set the
stack size to 67108864, but the maximum allowed is 67092480), so I've
instead used the requested stack size or the maximum allowed, whichever
is smaller.

I've also added an error message if setting the stack size fails. It
looks like this:

> Failed to increase stack size from 8372224 to 67108864 (maximum
> allowed stack size: 67092480): Invalid argument
2024-01-26 09:40:41 -08:00
..
build-remote Factor out Machine::systemSupported 2024-01-23 12:53:51 -05:00
libcmd DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
libexpr update docs on fetchGit shallow clone behavior (#9704) 2024-01-26 17:26:08 +00:00
libfetchers fetchTree/fetchGit: re-enable shallow fetching 2024-01-19 20:30:47 +07:00
libmain Use buildprefix in a few more places 2023-11-29 19:49:07 -05:00
libstore Make StoreConfig::getDefaultSystemFeatures a static method 2024-01-24 21:34:31 -05:00
libutil Increase stack size on macOS as well as Linux 2024-01-26 09:40:41 -08:00
nix Merge pull request #9481 from iFreilicht/disallow-nix-search-without-search-terms 2024-01-23 20:59:52 -05:00
nix-build DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-channel Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-collect-garbage Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-copy-closure Restrict some code to StoreDirConfig 2023-11-04 19:05:36 -04:00
nix-env DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-instantiate DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-store Factor our ServeProto::BasicServerConnection::handshake 2024-01-22 12:43:11 -05:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11