From 80c545bcdcdf1dedcb31540d7b9a9d786dd57f5d Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 26 Nov 2025 18:43:32 -0500 Subject: [PATCH] Fix include errors masked by precompiled headers --- src/libutil/include/nix/util/config-impl.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libutil/include/nix/util/config-impl.hh b/src/libutil/include/nix/util/config-impl.hh index 6066765c5..8f6f9a358 100644 --- a/src/libutil/include/nix/util/config-impl.hh +++ b/src/libutil/include/nix/util/config-impl.hh @@ -16,6 +16,7 @@ #include "nix/util/configuration.hh" #include "nix/util/args.hh" #include "nix/util/logging.hh" +#include "nix/util/file-path.hh" namespace nix { @@ -135,6 +136,7 @@ DECLARE_CONFIG_SERIALISER(StringSet) DECLARE_CONFIG_SERIALISER(StringMap) DECLARE_CONFIG_SERIALISER(std::set) DECLARE_CONFIG_SERIALISER(std::filesystem::path) +DECLARE_CONFIG_SERIALISER(std::optional) template T BaseSetting::parse(const std::string & str) const