nixos/nixpkgs.nix: Ignore the default system in check

We might want to make this more strict at some point.
This commit is contained in:
Robert Hensing 2022-06-25 10:40:41 +02:00
parent ba5faae6ce
commit 985b6812d6

View file

@ -69,9 +69,9 @@ let
}'';
legacyOptionsDefined =
optional opt.system.isDefined opt.system
++ (optional (opt.localSystem.highestPrio < (mkOptionDefault {}).priority) opt.localSystem)
++ (optional (opt.crossSystem.highestPrio < (mkOptionDefault {}).priority) opt.crossSystem)
optional (opt.localSystem.highestPrio < (mkDefault {}).priority) opt.system
++ optional (opt.localSystem.highestPrio < (mkOptionDefault {}).priority) opt.localSystem
++ optional (opt.crossSystem.highestPrio < (mkOptionDefault {}).priority) opt.crossSystem
;
defaultPkgs =