mirror of
https://github.com/NixOS/nix.git
synced 2024-11-30 02:32:26 +00:00
Merge pull request #2186 from dtzWill/fix/cxx14-static-assert
eval.cc: add message to static_assert, message can be omitted w/c++17
This commit is contained in:
commit
d820717bc6
@ -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 New Issue
Block a user