Simplify concatApps further

This commit is contained in:
Sridhar Ratnakumar 2022-03-26 19:09:41 -04:00
parent 8db1c56767
commit 003e223b6b

View file

@ -65,9 +65,10 @@
{
type = "app";
program = checkedShellScript "concatApps"
(pkgs.lib.strings.concatStringsSep
(pkgs.lib.strings.concatMapStringsSep
"\n"
(pkgs.lib.lists.forEach apps (app: app.program)));
(app: app.program)
apps);
};
in
@ -86,7 +87,7 @@
];
};
# Used buy `nix flake check` (but see next attribute)
# Used by `nix flake check` (but see next attribute)
checks = {
format-haskell = inputs.lint-utils.linters.${system}.${haskellFormatter} ./.;
format-cabal = inputs.lint-utils.linters.${system}.cabal-fmt ./.;