From 65551175e34ef501ef927a297bddd805a634172e Mon Sep 17 00:00:00 2001 From: Lily Ballard Date: Sun, 20 Oct 2024 19:53:57 -0700 Subject: [PATCH] libstore: add missing #include on darwin optimise-store.cc used std::regex on darwin, but forgot to include the header. This probably compiled due to the precompiled headers file, but it caused errors in the editor. Change-Id: I23297c08cb66d44e4d4f303560f46e4adc7d5a43 --- src/libstore/optimise-store.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc index 14381b6e0..31cb3d303 100644 --- a/src/libstore/optimise-store.cc +++ b/src/libstore/optimise-store.cc @@ -9,6 +9,9 @@ #include #include +#if __APPLE__ +#include +#endif namespace nix {