libstore: Make sure that initNix has been called

Prevent bugs like https://github.com/cachix/cachix/pull/477
This commit is contained in:
Robert Hensing
2022-12-24 14:39:30 +01:00
parent 26c7602c39
commit aba6eb348e
5 changed files with 25 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@ namespace nix {
class LibExprTest : public ::testing::Test {
public:
static void SetUpTestSuite() {
initLibStore();
initGC();
}