aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-06-18 09:45:14 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-06-18 09:45:14 +0200
commit556f33422d0a064ef100fe232f60b42b34bf40e2 (patch)
tree9cd420813ea6566e4f079573c7bc3ac01fcc0ddc /src/nix
parentf2fcc163fa6c38566f3a78cd3757ab22f39821fc (diff)
nix flake check: Ignore legacyPackages
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/flake.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index 8248a5d7b..b98cce078 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -365,6 +365,10 @@ struct CmdFlakeCheck : FlakeCommand, MixJSON
else if (name == "defaultApp")
checkApp(name, vProvide);
+ else if (name == "legacyPackages")
+ // FIXME: do getDerivations?
+ ;
+
else
warn("unknown flake output '%s'", name);