mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 21:46:01 +01:00
Explicitely define LockFile::operator!=
It should be syntethised in terms of `operator==`, but the GCC version used on aarch64-linux doesn't implement that (see https://hydra.nixos.org/build/214848896=. So explicitely define it. Fix https://github.com/NixOS/nix/issues/8159
This commit is contained in:
parent
bbdb5a58c7
commit
faefaac875
2 changed files with 8 additions and 0 deletions
|
|
@ -234,6 +234,11 @@ bool LockFile::operator ==(const LockFile & other) const
|
|||
return toJSON() == other.toJSON();
|
||||
}
|
||||
|
||||
bool LockFile::operator !=(const LockFile & other) const
|
||||
{
|
||||
return !(*this == other);
|
||||
}
|
||||
|
||||
InputPath parseInputPath(std::string_view s)
|
||||
{
|
||||
InputPath path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue