aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-16 14:25:51 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-16 14:25:51 +0200
commit8807ff902e1b543410a9572cc146efa6c90dec87 (patch)
tree9b51465a6562f886d317bb8ed39c0c4bdee24ae5 /src/nix
parent716eafaca4afbb7402decc375ea659e10fa3dbc3 (diff)
nix diff-closures: Fix build
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);