fix error: 'optional' in namespace 'std' does not name a template type

This commit is contained in:
keke 2021-06-02 18:09:03 +08:00
parent 7c3cb8506f
commit 50dc88a56c
No known key found for this signature in database
GPG key ID: 644DCB0E41CE31EB

View file

@ -6,6 +6,8 @@
#include <nlohmann/json_fwd.hpp>
#include <optional>
namespace nix::fetchers {
typedef std::variant<std::string, uint64_t, Explicit<bool>> Attr;