mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
eval.cc: add message to static_assert, message can be omitted w/c++17
This commit is contained in:
parent
14c464b6c8
commit
93ae90de0f
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
|
|||
|
||||
assert(gcInitialised);
|
||||
|
||||
static_assert(sizeof(Env) == 16);
|
||||
static_assert(sizeof(Env) == 16, "environment must be 16 bytes");
|
||||
|
||||
/* Initialise the Nix expression search path. */
|
||||
if (!settings.pureEval) {
|
||||
|
|
Loading…
Reference in a new issue