aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/tests/libexprtests.hh
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-12-19 14:06:07 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-12-24 14:39:30 +0100
commitaba6eb348e0ed8177da1e7f1df46ba00d20eab96 (patch)
tree50bb1337cafac6b3a1389d43fd033d97a13c09f9 /src/libexpr/tests/libexprtests.hh
parent26c7602c390f8c511f326785b570918b2f468892 (diff)
libstore: Make sure that initNix has been called
Prevent bugs like https://github.com/cachix/cachix/pull/477
Diffstat (limited to 'src/libexpr/tests/libexprtests.hh')
-rw-r--r--src/libexpr/tests/libexprtests.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/tests/libexprtests.hh b/src/libexpr/tests/libexprtests.hh
index 4f6915882..4a03d4316 100644
--- a/src/libexpr/tests/libexprtests.hh
+++ b/src/libexpr/tests/libexprtests.hh
@@ -12,6 +12,7 @@ namespace nix {
class LibExprTest : public ::testing::Test {
public:
static void SetUpTestSuite() {
+ initLibStore();
initGC();
}