mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
haskellPackages.purescript: unbreak
This commit is contained in:
parent
6a236bbfce
commit
915b22e400
@ -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;
|
||||
|
@ -8146,7 +8146,6 @@ broken-packages:
|
||||
- pure-priority-queue
|
||||
- pure-priority-queue-tests
|
||||
- purebred-email
|
||||
- purescript
|
||||
- purescript-iso
|
||||
- purescript-tsd-gen
|
||||
- push-notify
|
||||
|
Loading…
Reference in New Issue
Block a user