diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-04-08 16:11:17 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-04-08 16:11:17 +0200 |
commit | 101d964a59d5c9098845d3109ea1eba99b5f31df (patch) | |
tree | 8a738ce81315587f8bbc9260a05dd4a8e5ae344f /src/nix/why-depends.cc | |
parent | 9b7eac332b6af48f7ee5dc820c75706b4cb22c46 (diff) |
nix: Make -f work for compatibility
Diffstat (limited to 'src/nix/why-depends.cc')
-rw-r--r-- | src/nix/why-depends.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/why-depends.cc b/src/nix/why-depends.cc index 325a2be0a..32ba5a1ad 100644 --- a/src/nix/why-depends.cc +++ b/src/nix/why-depends.cc @@ -74,9 +74,9 @@ struct CmdWhyDepends : SourceExprCommand void run(ref<Store> store) override { - auto package = parseInstallable(*this, store, _package, false); + auto package = parseInstallable(store, _package); auto packagePath = toStorePath(store, Build, package); - auto dependency = parseInstallable(*this, store, _dependency, false); + auto dependency = parseInstallable(store, _dependency); auto dependencyPath = toStorePath(store, NoBuild, dependency); auto dependencyPathHash = storePathToHash(dependencyPath); |