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:
parent
9c80bc07b9
commit
7ab49dbeab
7 changed files with 14 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue