aboutsummaryrefslogtreecommitdiff
path: root/src/nix/profile.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-05-25 15:05:39 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-05-25 15:05:39 +0200
commit2f8a34cddcdd738afebde38e83b2315d3e305152 (patch)
treedf26b5c36191a8d2743e07df7f7855ab567d364c /src/nix/profile.cc
parent09e55010f9c7d0e60d7c97d1881cc696df3644ae (diff)
Fix warning
Diffstat (limited to 'src/nix/profile.cc')
-rw-r--r--src/nix/profile.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/profile.cc b/src/nix/profile.cc
index 1aae347df..3814e7d5a 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -263,7 +263,8 @@ builtPathsPerInstallable(
struct CmdProfileInstall : InstallablesCommand, MixDefaultProfile
{
- std::optional<int> priority;
+ std::optional<int64_t> priority;
+
CmdProfileInstall() {
addFlag({
.longName = "priority",