aboutsummaryrefslogtreecommitdiff
path: root/src/nix/search.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-04-21 11:58:40 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-04-21 12:06:29 +0200
commitf05e1f6fbb8a760f23a7af16b065078df6588acf (patch)
tree618d7ce614dcbabb8170a8c397fe6f68a8badf4e /src/nix/search.cc
parent684e679e07d3a8d9da1449347e5e07da2d718916 (diff)
Move hiliteMatches into a separate header
This is mostly so that we don't #include <regex> everywhere (which adds quite a bit of compilation time).
Diffstat (limited to 'src/nix/search.cc')
-rw-r--r--src/nix/search.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/search.cc b/src/nix/search.cc
index e96a85ea2..e284de95c 100644
--- a/src/nix/search.cc
+++ b/src/nix/search.cc
@@ -9,7 +9,7 @@
#include "shared.hh"
#include "eval-cache.hh"
#include "attr-path.hh"
-#include "fmt.hh"
+#include "hilite.hh"
#include <regex>
#include <fstream>