Skip to content

Commit

Permalink
Merge pull request #144725 from expipiplus1/ellie-hadolint
Browse files Browse the repository at this point in the history
haskellPackages.hadolint: patch to permit our language-docker version
  • Loading branch information
expipiplus1 authored Nov 5, 2021
2 parents 7a2ef11 + 64a5e32 commit df1ba61
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2008,11 +2008,6 @@ EOT
# 2021-08-18: streamly-posix was released with hspec 2.8.2, but it works with older versions too.
streamly-posix = doJailbreak super.streamly-posix;

# 2021-09-06: hadolint depends on language-docker >= 10.1
hadolint = super.hadolint.override {
language-docker = self.language-docker_10_2_0;
};

# 2021-09-13: hls 1.3 needs a newer lsp than stackage-lts. (lsp >= 1.2.0.1)
# (hls is nearly the only consumer, but consists of 18 packages, so we bump lsp globally.)
lsp = doDistribute self.lsp_1_2_0_1;
Expand Down Expand Up @@ -2061,4 +2056,15 @@ EOT
stripLen = 1;
});

# 2021-11-05: patch to permit our language-docker version
# This is based on c931c0a9689cd6dff4d2083fa002414c1f08a586 from
# language-docker upstream
hadolint = appendPatch (super.hadolint.override {
language-docker = self.language-docker_10_3_0;
}) (pkgs.fetchpatch {
url = "https://github.com/hadolint/hadolint/commit/c931c0a9689cd6dff4d2083fa002414c1f08a586.patch";
sha256 = "1kv06hfn7lgrcrg56q8lq0pvdffqvmjbshazg3prlhl3kjs541f8";
excludes = [ "stack.yaml" "package.yaml" "hadolint.cabal" ];
});

} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

0 comments on commit df1ba61

Please sign in to comment.