easyOverlay: fix

The tests only caught this for the non-memoized system case.
This commit is contained in:
Robert Hensing 2023-01-05 01:15:50 +01:00
parent 9ca2803752
commit 319ee04044
2 changed files with 14 additions and 3 deletions

View file

@ -115,7 +115,7 @@ in
# performance cost has already been incurred, such as in `flakeModules.easyOverlay`,
# where we run in the context of an overlay, and the performance cost of the
# extra `pkgs` makes the cost of running `perSystem` probably negligible.
_module.args.getSystemIgnoreWarning = system: config.allSystems.${system} or config.perSystem system;
_module.args.getSystemIgnoreWarning = system: config.allSystems.${system} or (config.perSystem system);
};
}