pkgs: remove 'shellcheck' as a 'buildPhase'

I already verify those scripts with my pre-commit hook. And that way
avoid spurious build failures in case a (transitive) dependency is
broken.
This commit is contained in:
Bruno BELANYI 2022-06-22 13:50:47 +02:00
parent 9c80bc07b9
commit 7ab49dbeab
7 changed files with 14 additions and 35 deletions

View file

@ -1,4 +1,4 @@
{ lib, fzf, makeWrapper, nix-index, shellcheck, stdenvNoCC }:
{ lib, fzf, makeWrapper, nix-index, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "comma";
version = "0.1.0";
@ -7,14 +7,11 @@ stdenvNoCC.mkDerivation rec {
buildInputs = [
makeWrapper
shellcheck
];
dontUnpack = true;
buildPhase = ''
shellcheck $src
'';
dontBuild = true;
installPhase = ''
mkdir -p $out/bin