From f8e77b3373d111e516ff440f8cdbae97adb1c6a4 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 5 Jun 2018 12:22:57 +0200 Subject: [PATCH] multi-ghc-travis: patch to support latest ShellCheck version --- .../tools/haskell/multi-ghc-travis/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/haskell/multi-ghc-travis/default.nix b/pkgs/development/tools/haskell/multi-ghc-travis/default.nix index b9f6db1cc947..98df266703ac 100644 --- a/pkgs/development/tools/haskell/multi-ghc-travis/default.nix +++ b/pkgs/development/tools/haskell/multi-ghc-travis/default.nix @@ -1,7 +1,17 @@ { mkDerivation, ansi-terminal, base, bytestring, Cabal, containers , deepseq, Diff, directory, filepath, ShellCheck, stdenv, tasty -, tasty-golden, transformers, fetchFromGitHub +, tasty-golden, transformers, fetchFromGitHub, fetchpatch }: + +let + + newShellCheck = fetchpatch { + url = https://github.com/haskell-CI/haskell-ci/pull/159.patch; + sha256 = "17qn099lvfiii5z3hg24idmg4sk6ph7m2k940fsxzhqrad8fkjmw"; + }; + +in + mkDerivation { pname = "haskell-ci"; version = "0"; @@ -11,6 +21,7 @@ mkDerivation { rev = "db63eb7f2eaa64b7b0e4759e98258fea2a27a424"; sha256 = "0ff55zafx7561s1yps7aw83ws4vcpc5cq9r6bbckaagvwwla0dcq"; }; + patches = [ newShellCheck ]; isLibrary = true; isExecutable = true; libraryHaskellDepends = [