Merge pull request #4879 from keke-cute/fix-optional-namespace

Fix error: 'optional' in namespace 'std' does not name a template type
This commit is contained in:
Eelco Dolstra
2021-06-02 13:30:54 +02:00
committed by GitHub
+2
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;