mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
fix error: 'optional' in namespace 'std' does not name a template type
This commit is contained in:
parent
7c3cb8506f
commit
50dc88a56c
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
#include <nlohmann/json_fwd.hpp>
|
#include <nlohmann/json_fwd.hpp>
|
||||||
|
|
||||||
|
#include <optional>
|
||||||
|
|
||||||
namespace nix::fetchers {
|
namespace nix::fetchers {
|
||||||
|
|
||||||
typedef std::variant<std::string, uint64_t, Explicit<bool>> Attr;
|
typedef std::variant<std::string, uint64_t, Explicit<bool>> Attr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue