Commit Graph

83 Commits

Author SHA1 Message Date
Naïm Favier
ad560b3ef4 haskellPackages.knob: remove patch after 0.2 2022-03-26 11:25:42 +01:00
Naïm Favier
832c091143
lambdabot: apply patch to fix GHC 9 build 2022-03-22 15:58:52 +01:00
Naïm Favier
f8c740b781
haskellPackages.misfortune: apply patch to fix GHC 9 build 2022-03-22 15:58:51 +01:00
Naïm Favier
0ba189f2d7
haskellPackages.knob: add patch for GHC 9 support
Patch sent to upstream via email, but the package hasn't been updated in
ten years.

Changes:
- IO.seek should now return the new offset so I used modifyMVar instead
  of modifyMVar_
- mkFileHandle now requires a RawIO instance for Device. Since this was
  not the case before and I don't think we need to actually support raw
  IO, I used DeriveAnyClass.
2022-03-16 02:10:08 +01:00
Robert Hensing
71f2c74efb haskellPackages.cryptonite: Disable Argon2 on aarch64-darwin
A workaround for packages that don't use this hash function.
See https://github.com/haskell-crypto/cryptonite/issues/360
2022-03-08 12:01:23 +01:00
sternenseemann
dd0c4562f9 haskellPackages.xmonad: use appropriate patch for >= 0.17
We already had a xmonad-nix.patch for XMonad 0.17, so it's just a matter
of using it. The old patch for 0.16 can be dropped as well, since we no
longer ship that version.
2022-02-20 22:41:18 +01:00
sternenseemann
d9cbb54b1f haskellPackages.regex-compat-tdfa: fix build with GHC >= 9.0
Seems that GHC 9 got a bit stricter in terms of bang pattern syntax.
2022-02-20 13:46:45 +01:00
sternenseemann
b2f63fbd6f haskellPackages.hnix: drop obsolete patch 2022-01-22 01:19:07 +01:00
Domen Kožar
6f00dbfe27 hnix: add missing patch 2022-01-18 15:40:40 +01:00
Nick Hu
36d5761b3e haskellPackages.xmonad_0_17_0: respect NIX_GHC and XMONAD_XMESSAGE
Adds xmonad-nix.patch adjusted for xmonad 0.17.0.

Originally posted here: https://discourse.nixos.org/t/use-latest-version-of-xmonad-0-17-0/16191/5

Co-Authored-By: ento <ping@stillspinning.cc>
Co-Authored-By: sternenseemann <sternenseemann@systemli.org>
2021-12-01 18:25:28 +01:00
sternenseemann
f522c412d5 haskellPackages.graphviz: hardcode references to graphviz tools
This will make everything using graphviz just work without graphviz
having to be able from PATH (in a nix-shell or installed globally).
2021-11-08 23:11:06 +01:00
Ellie Hermaszewska
b211ea8db6
haskellPackages.gogol-core: unbreak 2021-10-21 15:23:30 +08:00
Ellie Hermaszewska
efde625572
haskellPackages.recursion-schemes: Fix profiling objects
Thanks to Ryan's patch here https://github.com/recursion-schemes/recursion-schemes/issues/128\#issuecomment-911632813

Fixes https://github.com/NixOS/nixpkgs/issues/140613
2021-10-18 21:23:25 +08:00
lassulus
af115b8609 haskellPackages.graphql-engine: 2.0.5 -> 2.0.7 2021-08-19 14:15:21 +02:00
Dennis Gosnell
cc8c5ba53e
Merge pull request #133621 from Lassulus/hasura
hasura graphql-engine: 1.0.0 -> 2.0.5
2021-08-17 10:02:08 +09:00
lassulus
d07be4c5cb haskellPackages.graphql-engine: update to 2.0.5 + refactor 2021-08-16 19:51:58 +02:00
Samuel Rivas
d3ec7e0c3d haskellPackages.readline: fix Setup.hs to work with Cabal 3
See https://github.com/NixOS/nixpkgs/pull/111985/ for previous discussion
2021-08-16 11:03:08 +02:00
sternenseemann
0e0fbc6760 haskellPackages.SDL-image: fix build on darwin
Interestingly SDL-image exhibits both the problems of SDL-mixer and SDL-ttf
have. How the respective fixes we apply here as well work is explained in
1a68ebf98573291fc4a8d8e7b35ea2e74a0d6665 and
2a8105fc58644307007f326de25b357d216d3ad7.
2021-08-06 14:39:22 +02:00
sternenseemann
9a32fd5c49 haskellPackages.SDL-ttf: fix build on darwin
SDL_main.h which is included from SDL_ttf.h contains a #define which redefines
main to SDL_main. This has to do with the way SDL binaries are linked and
executed on darwin which is explained here [1]. However this is bad news for
hsc2hs intermediate C sources which in this case only to gather version
information from the headers and not to run a full SDL application.

Thus compilation would fail due to this issue which we can avoid by redefining
main to main again after including the header.

[1]: http://www.ariis.it/link/repos/sdl-bindings/hssdl-image/MACOSX
2021-08-06 14:39:22 +02:00
sternenseemann
9b1e0e4b74 haskellPackages.jsaddle-webkit2gtk: remove now unnecessary patch
Upstream seems to have fixed the issue in the meantime -- without merging
Malte's PR, however.
2021-06-05 02:29:27 +02:00
(cdep)illabout
8f9f70446e
haskellPackages.dyre: fix build by removing out-dated patch and pulling from upstream 2021-05-20 16:14:45 +09:00
sternenseemann
52c8b2de4e haskellPackages.hnix: remove now unnecessary patch
New release 0.13.0.1 introduced support with ref-tf >= 0.5, so we can
remove our patch for that purpose.
2021-05-13 11:47:21 +02:00
Malte Brandy
8ed841a90d
haskellPackages.phonetic-languages-phonetics-basics: Remove obsolete patch 2021-05-11 17:08:18 +02:00
Dmitry Ivankov
726af289ce haskellPackages.phonetic-languages-phonetics-basics: fix haddockPhase
haddock 2.24.0 rejects double doc-comments on module
https://hydra.nixos.org/build/142423054/nixlog/2

Haven't found upstream repository so patching in-place
https://hackage.haskell.org/package/phonetic-languages-phonetics-basics

ZHF: #122042
2021-05-08 10:22:53 -07:00
Malte Brandy
9fd589504e
haskellPackages.haskell-gi: Bump versions manually to still build with used C libs 2021-05-07 21:19:00 +02:00
sternenseemann
20020d3ec8 haskellPackages.hnix: unbreak
The mystery build failure was caused by having the same instance as an
orphan and imported from ref-tf 0.5 (why ever that doesn't warrant a
logged error message…). The solution for this is
https://github.com/haskell-nix/hnix/pull/918, which sadly doesn't apply
cleanly on the hnix 0.12.0.1 tarball. Therefore I've backported the
patch until hnix hopefully gets a new hackage release soon.
2021-05-05 12:55:29 +02:00
sternenseemann
f44086409f haskellPackages.gitit: fetch patch from upstream
The patch I proposed yesterday and vendored in here as a precautionary
measure in case I'd have to amend it in order for it to got merged, has
been accepted without changes.

Thus we can remove the patch file from the tree and just use fetchpatch.
2021-04-03 11:31:48 +02:00
sternenseemann
8babfa7fa5 haskellPackages.gitit: unbreak
pandoc 2.12 changed and removed a few exports gitit used. I procured a
patch which fixes those without any refactoring by vendoring in the
removed function from pandoc which is no problem as they are both
available under the GPL 2.0.
2021-04-02 15:25:51 +02:00
Ariel Nunez
a29ed35bc7 hasura: 1.2.1 -> 1.3.1-beta.1 2020-09-03 14:59:08 -05:00
Mike Sperber
41786ec21f Update tensorflow-haskell dependencies.
Updating to the current HEAD of the Tensorflow-Haskell bindings allows
us to also update the dependencies, specifically proto-lens, and avoid
having to retain their outdated versions.
2020-05-29 22:28:46 +02:00
Peter Simons
1d4449ccd5 haskell-stack: update overrides for the new 2.3.1 version 2020-05-01 21:52:30 +02:00
Peter Simons
d3ae5625ff haskell-dbus: apply patch to fix the build
Taken from https://github.com/rblaze/haskell-dbus/pull/48.
2020-04-25 19:45:08 +02:00
David Guibert
8ab67c7a19 haskell-packages: made darcs compile with ghc 8.8 2020-04-24 22:00:38 +02:00
Mike Sperber
53cfd1d132 haskell-tensorflow: unbreak
- get the current Git head of haskell-tensorflow
- adjust dependencies
2020-04-17 20:50:48 +02:00
Peter Simons
d02ac6c485 git-annex: update sha256 hash for new version 8.20200309 2020-03-13 20:31:07 +01:00
(cdep)illabout
5682212ae0 haskellPackages.stack: get compiling with ghc882 2020-03-06 21:42:12 +01:00
Peter Simons
219776992d git-annex: apply patch to fix the build with ghc-8.8.x
Unfortunately, we cannot compile git-annex with S3 support in an
LTS-15.x environment, because the 'aws' library hasn't updated to
version 3.x of the 'network' library [1]. I tried whether it's
possible to build git-annex with an older version of network, but
the amount of overrides we'd have to configure to accomplish that
got out of hand quickly. So I disabled aws support [2]. If you
need S3 support in git-annex, please help upstream to update
'aws' so that it builds with recent versions of 'network'.

[1] https://github.com/aristidb/aws/issues/264
[2] 1d0459f40e
2020-02-28 20:42:29 +01:00
Niklas Hambüchen
4bf23ce6f9 haskellPackages.GLUT: Fix freeglut.pc -> glut.pc.
This was broken by PR #70235 with commit

    f5ae5cac - freeglut: 3.0.0 -> 3.2.1

The in the newer freeglut version, the pkg-config file is called
`glut.pc`, no longer `freeglut.pc`.

Found in:

    https://github.com/NixOS/nixpkgs/pull/70235#issuecomment-567536852
2019-12-20 02:52:54 +01:00
Domen Kožar
f1682a7f12
servant-client-core: patch a security issue leaking authorization header 2019-11-12 12:48:36 +01:00
MarcFontaine
8142cad918 ghcjs : fix the patch for ghc-paths-package
This patch is used in pkgs/development/haskell-modules/configuration-ghcjs.nix
to fix the ghc-path package for use with ghcjs.
The ghc-paths package has been updated in a way that the existing patch can no longer
be applied.
2019-11-10 19:03:08 +01:00
Jean-Baptiste Giraudeau
6ceb7a1285 haskellPackages: unbreak amazonka (and other packages that use it)
Closes https://github.com/NixOS/nixpkgs/pull/68944.
2019-09-22 13:43:08 +02:00
Peter Simons
fba1a02724 haskell-clock: drop obsolete patches 2019-08-11 20:48:09 +02:00
Izorkin
cf9acd3e6d haskellPackages.insert-ordered-containers: fix build 2019-06-11 18:42:58 +09:00
c0bw3b
9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Jack Kelly
736b0c53a4 haskellPackages.beam-*: remove obsolete patches 2019-05-02 19:28:23 +02:00
Joachim Breitner
c1eeb8f3ab Import cross-compilation patch for clock
taken form https://github.com/input-output-hk/iohk-nix/blob/master/patches/clock-0.7.2.patch
2019-03-16 11:32:39 +01:00
Pascal Wittmann
57afc591b3
haskellPackages.xattr: fix build with attr-2.4.48 (see ##53716) 2019-03-09 17:37:46 +01:00
Domen Kožar
673f50f4d9
haskellPackages.servant-client-core: patch out runtime error 2019-02-22 17:03:52 +07:00
Izorkin
535644a9da haskellPackages.insert-ordered-containers: fix test phase 2019-02-08 15:22:46 +03:00
Jack Kelly
f5d52c1949 haskellPackages.beam-*: GHC 8.6.x fixes, and relax version bounds 2019-02-02 13:11:53 +01:00