1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00
This commit is contained in:
Matthew Bauer 2020-12-28 19:40:04 -06:00
parent ede534a3a1
commit 64904b9d5d
2 changed files with 3 additions and 3 deletions

View file

@ -103,7 +103,7 @@ static void fetchTree(
addURI(state, attrs, attr.name, attr.value->string.s);
else if (attr.value->type() == nBool)
attrs.emplace(attr.name, Explicit<bool>{attr.value->boolean});
else if (attr.value->type == nInt)
else if (attr.value->type() == nInt)
attrs.emplace(attr.name, uint64_t(attr.value->integer));
else
throw TypeError("fetchTree argument '%s' is %s while a string, Boolean or integer is expected",