From 50dc88a56cc13030801bfefc7116828d4115ae70 Mon Sep 17 00:00:00 2001 From: keke Date: Wed, 2 Jun 2021 18:09:03 +0800 Subject: fix error: 'optional' in namespace 'std' does not name a template type --- src/libfetchers/attrs.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libfetchers/attrs.hh b/src/libfetchers/attrs.hh index a2d53a7bf..e41037633 100644 --- a/src/libfetchers/attrs.hh +++ b/src/libfetchers/attrs.hh @@ -6,6 +6,8 @@ #include +#include + namespace nix::fetchers { typedef std::variant> Attr; -- cgit v1.2.3