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
commit f1b604f603
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;