diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-06-02 13:30:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 13:30:54 +0200 |
commit | f1b604f603ad80d775f5855dee085b9d5261bafe (patch) | |
tree | d9435d00e32722c89af920419bad6db6439d74c6 | |
parent | 7c3cb8506fb3046cb97e1b98f3b1195d45c500f3 (diff) | |
parent | 50dc88a56cc13030801bfefc7116828d4115ae70 (diff) |
Merge pull request #4879 from keke-cute/fix-optional-namespace
Fix error: 'optional' in namespace 'std' does not name a template type
-rw-r--r-- | src/libfetchers/attrs.hh | 2 |
1 files changed, 2 insertions, 0 deletions
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 <nlohmann/json_fwd.hpp> +#include <optional> + namespace nix::fetchers { typedef std::variant<std::string, uint64_t, Explicit<bool>> Attr; |