Simplify concatApps further
This commit is contained in:
parent
8db1c56767
commit
003e223b6b
1 changed files with 4 additions and 3 deletions
|
@ -65,9 +65,10 @@
|
||||||
{
|
{
|
||||||
type = "app";
|
type = "app";
|
||||||
program = checkedShellScript "concatApps"
|
program = checkedShellScript "concatApps"
|
||||||
(pkgs.lib.strings.concatStringsSep
|
(pkgs.lib.strings.concatMapStringsSep
|
||||||
"\n"
|
"\n"
|
||||||
(pkgs.lib.lists.forEach apps (app: app.program)));
|
(app: app.program)
|
||||||
|
apps);
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -86,7 +87,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Used buy `nix flake check` (but see next attribute)
|
# Used by `nix flake check` (but see next attribute)
|
||||||
checks = {
|
checks = {
|
||||||
format-haskell = inputs.lint-utils.linters.${system}.${haskellFormatter} ./.;
|
format-haskell = inputs.lint-utils.linters.${system}.${haskellFormatter} ./.;
|
||||||
format-cabal = inputs.lint-utils.linters.${system}.cabal-fmt ./.;
|
format-cabal = inputs.lint-utils.linters.${system}.cabal-fmt ./.;
|
||||||
|
|
Loading…
Reference in a new issue