aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/diff-closures.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nix/diff-closures.cc b/src/nix/diff-closures.cc
index df0b26ab1..56ddb575b 100644
--- a/src/nix/diff-closures.cc
+++ b/src/nix/diff-closures.cc
@@ -81,10 +81,10 @@ struct CmdDiffClosures : SourceExprCommand
void run(ref<Store> store) override
{
- auto before = parseInstallable(*this, store, _before, false);
- auto beforePath = toStorePath(store, Build, before);
- auto after = parseInstallable(*this, store, _after, false);
- auto afterPath = toStorePath(store, NoBuild, after);
+ auto before = parseInstallable(store, _before);
+ auto beforePath = toStorePath(store, Realise::Outputs, operateOn, before);
+ auto after = parseInstallable(store, _after);
+ auto afterPath = toStorePath(store, Realise::Outputs, operateOn, after);
auto beforeClosure = getClosureInfo(store, beforePath);
auto afterClosure = getClosureInfo(store, afterPath);