Fix static assertion failure on 32-bit systems

This commit is contained in:
Eelco Dolstra 2018-05-30 17:47:30 +02:00
parent 7c3c635d4f
commit 5d4a9d5677
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -307,7 +307,7 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
assert(gcInitialised);
static_assert(sizeof(Env) == 16, "environment must be 16 bytes");
static_assert(sizeof(Env) <= 16, "environment must be <= 16 bytes");
/* Initialise the Nix expression search path. */
if (!evalSettings.pureEval) {