Redundant argument

This commit is contained in:
Sridhar Ratnakumar 2022-03-26 15:05:11 -04:00
parent 82e7ee3aac
commit c4043be3a9

View file

@ -54,7 +54,7 @@
};
# Checks the shell script using ShellCheck
checkedShellScript = system: name: text:
checkedShellScript = name: text:
(pkgs.writeShellApplication {
inherit name text;
}) + "/bin/${name}";
@ -69,7 +69,7 @@
in
{
type = "app";
program = checkedShellScript system "concatApps"
program = checkedShellScript "concatApps"
(joinBy "\n" programs);
};
@ -89,13 +89,14 @@
];
};
# Used buy `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 ./.;
format-nix = inputs.lint-utils.linters.${system}.nixpkgs-fmt ./.;
};
# We needs this hack because `nix flake check` won't work for Haskell
# We need this hack because `nix flake check` won't work for Haskell
# projects: https://nixos.wiki/wiki/Import_From_Derivation#IFD_and_Haskell
#
# Instead, run: `nix build .#check.x86_64-linux` (replace with your system)