Skip to content

Commit

Permalink
profile.cc: use NixInt for priority value in packageInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
elikoga committed Jan 29, 2025
1 parent d77a5d3 commit 664d21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nix/profile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down

0 comments on commit 664d21d

Please sign in to comment.