mirror of
https://github.com/NixOS/nix
synced 2025-07-03 06:11:46 +02:00
profile.cc: extract value from NixInt for priority in packageInfo
This commit is contained in:
parent
664d21d1fd
commit
50409bc8e0
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", NixInt{defaultPriority});
|
||||
element.priority = packageInfo.queryMetaInt("priority", NixInt{defaultPriority}).value;
|
||||
addElement(std::move(element));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue