diff options
author | Eli Kogan-Wang <elikowa@gmail.com> | 2022-05-16 15:17:35 +0200 |
---|---|---|
committer | Eli Kogan-Wang <elikowa@gmail.com> | 2022-05-16 15:17:35 +0200 |
commit | 27d0f6747d7e70be4b9ade28ce77444e6135cadb (patch) | |
tree | 9691eb0d1da309a33e0faec689fd26baed1d4d65 /src/nix/profile.cc | |
parent | c81d24f1c70cc454c9a88cea70048d8563f60784 (diff) |
resolve redundant priority passing, wrap NixInt in eval-cache variant
Diffstat (limited to 'src/nix/profile.cc')
-rw-r--r-- | src/nix/profile.cc | 4 |
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; |