about summary refs log tree commit diff
path: root/third_party/nix/src/nix/installables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/installables.cc')
-rw-r--r--third_party/nix/src/nix/installables.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/nix/installables.cc b/third_party/nix/src/nix/installables.cc
index 8d2f93256814..59dfc1b1ac85 100644
--- a/third_party/nix/src/nix/installables.cc
+++ b/third_party/nix/src/nix/installables.cc
@@ -27,7 +27,7 @@ Value* SourceExprCommand::getSourceExpr(EvalState& state) {
     return vSourceExpr;
   }
 
-  auto sToplevel = state.symbols.create("_toplevel");
+  auto sToplevel = state.symbols.Create("_toplevel");
 
   vSourceExpr = state.allocValue();
 
@@ -57,7 +57,7 @@ Value* SourceExprCommand::getSourceExpr(EvalState& state) {
                   state.getBuiltin("nixPath"));
       Value* v2 = state.allocValue();
       mkApp(*v2, *v1, mkString(*state.allocValue(), name));
-      mkApp(*state.allocAttr(*vSourceExpr, state.symbols.create(name)),
+      mkApp(*state.allocAttr(*vSourceExpr, state.symbols.Create(name)),
             state.getBuiltin("import"), *v2);
     };