haskellPackages.purescript: unbreak

This commit is contained in:
(cdep)illabout 2019-11-06 19:48:41 +09:00 committed by Peter Simons
parent 6a236bbfce
commit 915b22e400
2 changed files with 17 additions and 3 deletions

View File

@ -1114,8 +1114,23 @@ self: super: {
# https://github.com/snapframework/xmlhtml/pull/37
xmlhtml = doJailbreak super.xmlhtml;
purescript =
let
purescriptWithOverrides = super.purescript.override {
# PureScript requires an older version of happy.
happy = self.happy_1_19_9;
};
# PureScript is built against LTS-13, so we need to jailbreak it to
# accept more recent versions of the libraries it requires.
jailBrokenPurescript = doJailbreak purescriptWithOverrides;
# Haddocks for PureScript can't be built.
# https://github.com/purescript/purescript/pull/3745
dontHaddockPurescript = dontHaddock jailBrokenPurescript;
in
# Generate shell completions
purescript = generateOptparseApplicativeCompletion "purs" super.purescript;
generateOptparseApplicativeCompletion "purs" dontHaddockPurescript;
# https://github.com/kcsongor/generic-lens/pull/65
generic-lens = dontCheck super.generic-lens;

View File

@ -8146,7 +8146,6 @@ broken-packages:
- pure-priority-queue
- pure-priority-queue-tests
- purebred-email
- purescript
- purescript-iso
- purescript-tsd-gen
- push-notify