mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 09:36:15 +02:00
nix flake check: Don't build apps
This was inconsistent since we're not building 'packages' or 'defaultPackage' either. Closes #3726.
This commit is contained in:
parent
377345e26f
commit
334e26bfc2
1 changed files with 1 additions and 3 deletions
|
@ -246,9 +246,7 @@ struct CmdFlakeCheck : FlakeCommand
|
||||||
auto app = App(*state, v);
|
auto app = App(*state, v);
|
||||||
for (auto & i : app.context) {
|
for (auto & i : app.context) {
|
||||||
auto [drvPathS, outputName] = decodeContext(i);
|
auto [drvPathS, outputName] = decodeContext(i);
|
||||||
auto drvPath = store->parseStorePath(drvPathS);
|
store->parseStorePath(drvPathS);
|
||||||
if (!outputName.empty() && drvPath.isDerivation())
|
|
||||||
drvPaths.push_back({drvPath});
|
|
||||||
}
|
}
|
||||||
} catch (Error & e) {
|
} catch (Error & e) {
|
||||||
e.addPrefix(fmt("while checking the app definition '" ANSI_BOLD "%s" ANSI_NORMAL "' at %s:\n", attrPath, pos));
|
e.addPrefix(fmt("while checking the app definition '" ANSI_BOLD "%s" ANSI_NORMAL "' at %s:\n", attrPath, pos));
|
||||||
|
|
Loading…
Reference in a new issue