summarylogtreecommitdiffstats
path: root/nixd-llvm19-compat.patch
blob: 2b35b8e7c1c68c2a7ed4caf5bc785e414f379b72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/nixd/tools/nixd.cpp
+++ b/nixd/tools/nixd.cpp
@@ -58,7 +58,7 @@ int main(int argc, char *argv[]) {
   });
 
   HideUnrelatedOptions(NixdCatogories);
   ParseCommandLineOptions(argc, argv, "nixd language server", nullptr,
-                          "NIXD_FLAGS");
+                          nullptr, "NIXD_FLAGS");
 
   if (LitTest) {
     InputStyle = JSONStreamStyle::LitTest;
--- a/nixd/tools/nixd-attrset-eval.cpp
+++ b/nixd/tools/nixd-attrset-eval.cpp
@@ -59,7 +59,7 @@ int main(int Argc, const char *Argv[]) {
   });
 
   HideUnrelatedOptions(Catogories);
   ParseCommandLineOptions(Argc, Argv, "nixd nixpkgs evaluator", nullptr,
-                          "NIXD_NIXPKGS_EVAL_FLAGS");
+                          nullptr, "NIXD_NIXPKGS_EVAL_FLAGS");
 
   if (LitTest) {
     InputStyle = JSONStreamStyle::LitTest;