aboutsummaryrefslogtreecommitdiff
path: root/src/nix/why-depends.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-15 20:05:42 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-15 20:05:42 +0200
commit94eb5fad76cd086e3f49329532f81083726f89b3 (patch)
treec1e8f7b3a623a0bb083b6c7facab2a9135bffbc9 /src/nix/why-depends.cc
parente3c2b0023774eed05657ca1dbb469a85bd294d23 (diff)
Clean up RealiseMode
Diffstat (limited to 'src/nix/why-depends.cc')
-rw-r--r--src/nix/why-depends.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/why-depends.cc b/src/nix/why-depends.cc
index a208e0081..c39a0435d 100644
--- a/src/nix/why-depends.cc
+++ b/src/nix/why-depends.cc
@@ -73,9 +73,9 @@ struct CmdWhyDepends : SourceExprCommand
void run(ref<Store> store) override
{
auto package = parseInstallable(store, _package);
- auto packagePath = toStorePath(store, Build, package);
+ auto packagePath = toStorePath(store, Realise::Outputs, package);
auto dependency = parseInstallable(store, _dependency);
- auto dependencyPath = toStorePath(store, NoBuild, dependency);
+ auto dependencyPath = toStorePath(store, Realise::Derivation, dependency);
auto dependencyPathHash = dependencyPath.hashPart();
StorePathSet closure;