aboutsummaryrefslogtreecommitdiff
path: root/src/nix/profile.cc
diff options
context:
space:
mode:
authorEli Kogan-Wang <elikowa@gmail.com>2022-05-16 15:17:35 +0200
committerEli Kogan-Wang <elikowa@gmail.com>2022-05-16 15:17:35 +0200
commit27d0f6747d7e70be4b9ade28ce77444e6135cadb (patch)
tree9691eb0d1da309a33e0faec689fd26baed1d4d65 /src/nix/profile.cc
parentc81d24f1c70cc454c9a88cea70048d8563f60784 (diff)
resolve redundant priority passing, wrap NixInt in eval-cache variant
Diffstat (limited to 'src/nix/profile.cc')
-rw-r--r--src/nix/profile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/profile.cc b/src/nix/profile.cc
index ca5041873..1aae347df 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -300,7 +300,7 @@ struct CmdProfileInstall : InstallablesCommand, MixDefaultProfile
if (auto installable2 = std::dynamic_pointer_cast<InstallableFlake>(installable)) {
// FIXME: make build() return this?
- auto [attrPath, resolvedRef, drv, priority] = installable2->toDerivation();
+ auto [attrPath, resolvedRef, drv] = installable2->toDerivation();
element.source = ProfileElementSource {
installable2->flakeRef,
resolvedRef,
@@ -475,7 +475,7 @@ struct CmdProfileUpgrade : virtual SourceExprCommand, MixDefaultProfile, MixProf
Strings{},
lockFlags);
- auto [attrPath, resolvedRef, drv, priority] = installable->toDerivation();
+ auto [attrPath, resolvedRef, drv] = installable->toDerivation();
if (element.source->resolvedRef == resolvedRef) continue;