Skip to content

Commit

Permalink
ghc-mod: jailbreak to make the build accept hlint version 2.1
Browse files Browse the repository at this point in the history
Fixes #36604.
  • Loading branch information
peti committed Mar 13, 2018
1 parent c5f141f commit c665fcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Expand Up @@ -585,6 +585,7 @@ self: super: {
preCheck = "export HOME=$TMPDIR";
testToolDepends = drv.testToolDepends or [] ++ [self.cabal-install];
doCheck = false; # https://github.com/kazu-yamamoto/ghc-mod/issues/335
jailbreak = true; # work around hlint >=2.0.8 && <2.1 constraint
executableToolDepends = drv.executableToolDepends or [] ++ [pkgs.emacs];
postInstall = ''
local lispdir=( "$data/share/${self.ghc.name}/*/${drv.pname}-${drv.version}/elisp" )
Expand Down

0 comments on commit c665fcc

Please sign in to comment.