mirror of
https://github.com/NixOS/nix.git
synced 2024-11-23 07:12:27 +00:00
Fix gcc10 build
This commit is contained in:
parent
7a472a76d4
commit
86a2ceeb98
@ -128,7 +128,7 @@ static FlakeInput parseFlakeInput(EvalState & state,
|
||||
attrs.emplace(attr.name, Explicit<bool> { attr.value->boolean });
|
||||
break;
|
||||
case nInt:
|
||||
attrs.emplace(attr.name, attr.value->integer);
|
||||
attrs.emplace(attr.name, (long unsigned int)attr.value->integer);
|
||||
break;
|
||||
default:
|
||||
throw TypeError("flake input attribute '%s' is %s while a string, Boolean, or integer is expected",
|
||||
|
Loading…
Reference in New Issue
Block a user