LibExprTest: Ignore $NIX_PATH

Otherwise a broken $NIX_PATH can cause the test suite to fail.
This commit is contained in:
Eelco Dolstra 2023-12-13 13:27:39 +01:00
parent 103ca0bde5
commit faa4cae9ae

View file

@ -8,6 +8,7 @@
#include "nixexpr.hh"
#include "eval.hh"
#include "eval-inline.hh"
#include "eval-settings.hh"
#include "store-api.hh"
#include "tests/libstore.hh"
@ -18,6 +19,7 @@ namespace nix {
static void SetUpTestSuite() {
LibStoreTest::SetUpTestSuite();
initGC();
evalSettings.nixPath = {};
}
protected: