mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
profile.cc: use NixInt for priority value in packageInfo
This commit is contained in:
parent
d77a5d3c3b
commit
664d21d1fd
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ struct ProfileManifest
|
|||
for (auto & packageInfo : packageInfos) {
|
||||
ProfileElement element;
|
||||
element.storePaths = {packageInfo.queryOutPath()};
|
||||
element.priority = packageInfo.queryMetaInt("priority", defaultPriority);
|
||||
element.priority = packageInfo.queryMetaInt("priority", NixInt{defaultPriority});
|
||||
addElement(std::move(element));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue