aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/meson.build1
-rw-r--r--src/libexpr/primops/fromTOML.cc3
-rw-r--r--src/libexpr/print.cc1
3 files changed, 3 insertions, 2 deletions
diff --git a/src/libexpr/meson.build b/src/libexpr/meson.build
index baac9bb24..2e810f4c9 100644
--- a/src/libexpr/meson.build
+++ b/src/libexpr/meson.build
@@ -131,6 +131,7 @@ libexpr = library(
liblixfetchers,
boehm,
boost,
+ toml11,
],
# for shared.hh
include_directories : [
diff --git a/src/libexpr/primops/fromTOML.cc b/src/libexpr/primops/fromTOML.cc
index 94be7960a..c51683df7 100644
--- a/src/libexpr/primops/fromTOML.cc
+++ b/src/libexpr/primops/fromTOML.cc
@@ -1,9 +1,8 @@
#include "primops.hh"
#include "eval-inline.hh"
-#include "../../toml11/toml.hpp"
-
#include <sstream>
+#include <toml.hpp>
namespace nix {
diff --git a/src/libexpr/print.cc b/src/libexpr/print.cc
index 1033c0059..43e366d08 100644
--- a/src/libexpr/print.cc
+++ b/src/libexpr/print.cc
@@ -1,4 +1,5 @@
#include <limits>
+#include <span>
#include <unordered_set>
#include "print.hh"