about summary refs log tree commit diff
path: root/third_party/nix/src/tests/value-to-json.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/tests/value-to-json.cc')
-rw-r--r--third_party/nix/src/tests/value-to-json.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/tests/value-to-json.cc b/third_party/nix/src/tests/value-to-json.cc
index 573eb658285d..45427425306f 100644
--- a/third_party/nix/src/tests/value-to-json.cc
+++ b/third_party/nix/src/tests/value-to-json.cc
@@ -12,7 +12,7 @@
 
 class ValueTest : public ::testing::Test {
  protected:
-  static void SetUpTestCase() { nix::initGC(); }
+  static void SetUpTestCase() { nix::expr::InitGC(); }
 
   static void TearDownTestCase() {}
 };