diff options
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r-- | src/nix/flake.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc index 323810090..133e6c7e0 100644 --- a/src/nix/flake.cc +++ b/src/nix/flake.cc @@ -246,9 +246,7 @@ struct CmdFlakeCheck : FlakeCommand auto app = App(*state, v); for (auto & i : app.context) { auto [drvPathS, outputName] = decodeContext(i); - auto drvPath = store->parseStorePath(drvPathS); - if (!outputName.empty() && drvPath.isDerivation()) - drvPaths.push_back({drvPath}); + store->parseStorePath(drvPathS); } } catch (Error & e) { e.addPrefix(fmt("while checking the app definition '" ANSI_BOLD "%s" ANSI_NORMAL "' at %s:\n", attrPath, pos)); |