aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-02 11:31:58 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-02 11:31:58 +0100
commit958ec5de568904a07ef050418088d882cbf2ea61 (patch)
treec3102f9fd58525521638a20f4dc7a10e231f2e02 /src/nix
parentb2708694664f41f85ffc8cb6ca51cd0cc599806e (diff)
Cleanup
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/profile.cc b/src/nix/profile.cc
index c94d92567..1759b83a3 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -330,7 +330,7 @@ struct CmdProfileUpgrade : virtual SourceExprCommand, MixDefaultProfile, MixProf
for (size_t i = 0; i < manifest.elements.size(); ++i) {
auto & element(manifest.elements[i]);
if (element.source
- && !element.source->originalRef.isImmutable()
+ && !element.source->originalRef.input->isImmutable()
&& matches(*store, element, i, matchers))
{
Activity act(*logger, lvlChatty, actUnknown,