mirror of
https://github.com/NixOS/nix
synced 2025-07-04 03:01:47 +02:00
Work around clang/libc++ issue
This commit is contained in:
parent
d2e1d4916a
commit
b167e2c415
3 changed files with 10 additions and 4 deletions
|
@ -49,7 +49,10 @@ struct FlakeRef
|
|||
|
||||
bool operator ==(const FlakeRef & other) const = default;
|
||||
|
||||
auto operator <=>(const FlakeRef &) const = default;
|
||||
bool operator <(const FlakeRef & other) const
|
||||
{
|
||||
return std::tie(input, subdir) < std::tie(other.input, other.subdir);
|
||||
}
|
||||
|
||||
FlakeRef(fetchers::Input && input, const Path & subdir)
|
||||
: input(std::move(input)), subdir(subdir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue