From 8807ff902e1b543410a9572cc146efa6c90dec87 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 16 Jul 2020 14:25:51 +0200 Subject: [PATCH] nix diff-closures: Fix build --- src/nix/diff-closures.cc | 8 ++++---- 1 file 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) 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);