forked from lix-project/lix
Fix static assertion failure on 32-bit systems
This commit is contained in:
parent
7c3c635d4f
commit
5d4a9d5677
|
@ -307,7 +307,7 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
|
||||||
|
|
||||||
assert(gcInitialised);
|
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. */
|
/* Initialise the Nix expression search path. */
|
||||||
if (!evalSettings.pureEval) {
|
if (!evalSettings.pureEval) {
|
||||||
|
|
Loading…
Reference in a new issue