aboutsummaryrefslogtreecommitdiff
path: root/src/nix/diff-closures.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-03-02 13:54:08 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-03-02 19:19:51 +0100
commit54888b92ded6c242ce4914628553d8b2c9c55d10 (patch)
tree17d530a11628a99bb61434e62a7547c284b23f1e /src/nix/diff-closures.cc
parentb2da2a22c64a040f3cc83180f636b5fe972c16b1 (diff)
Move installables-related operations
Diffstat (limited to 'src/nix/diff-closures.cc')
-rw-r--r--src/nix/diff-closures.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/diff-closures.cc b/src/nix/diff-closures.cc
index 734c41e0e..0621d662c 100644
--- a/src/nix/diff-closures.cc
+++ b/src/nix/diff-closures.cc
@@ -131,9 +131,9 @@ struct CmdDiffClosures : SourceExprCommand
void run(ref<Store> store) override
{
auto before = parseInstallable(store, _before);
- auto beforePath = toStorePath(getEvalStore(), store, Realise::Outputs, operateOn, before);
+ auto beforePath = Installable::toStorePath(getEvalStore(), store, Realise::Outputs, operateOn, before);
auto after = parseInstallable(store, _after);
- auto afterPath = toStorePath(getEvalStore(), store, Realise::Outputs, operateOn, after);
+ auto afterPath = Installable::toStorePath(getEvalStore(), store, Realise::Outputs, operateOn, after);
printClosureDiff(store, beforePath, afterPath, "");
}
};