shellcheck: fix build

This commit is contained in:
Jonathan Ringer 2020-02-28 15:18:21 -08:00 committed by Jon
parent 180e5f41b0
commit 87762c126a
3 changed files with 11 additions and 2 deletions

View file

@ -48,6 +48,17 @@ self: super: {
# Needs older QuickCheck version
attoparsec-varword = dontCheck super.attoparsec-varword;
ShellCheck = overrideCabal super.ShellCheck (drv: {
patches = [
# cabal 3.0 support
( pkgs.fetchpatch {
url = "https://github.com/koalaman/shellcheck/commit/2c026f1ec7c205c731ff2a0ccd85365f37245.patch";
sha256 = "0z6yf350ngr6rwfkvdy670c476fgzj8a0n4ppdm1xr8r1lij7sfz";
excludes = [ "Dockerfile" ];
})
];
});
# Tests are failing
# https://github.com/bos/statistics/issues/123
statistics = dontCheck super.statistics;

View file

@ -9248,7 +9248,6 @@ broken-packages:
- Shellac-editline
- Shellac-haskeline
- Shellac-readline
- ShellCheck
- shellish
- shellmate
- shellmate-extras

View file

@ -17899,7 +17899,6 @@ self: {
description = "Shell script analysis tool";
license = stdenv.lib.licenses.gpl3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
"Shellac" = callPackage