Commit 1267005a authored by Profpatsch's avatar Profpatsch

containers/helpers/script.withOption: dedup check bash functions

parent cedc7aef
......@@ -55,8 +55,11 @@ let
# all checks we are using in this script
ourChecks = builtins.concatLists
(lib.mapAttrsToList (_: opt: opt.checks) options);
ourChecks =
# we can remove duplicate checks because they are static
(lib.mapAttrsToList (_: opt: opt.checks) options));
# check bash functions
checkFns =
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment