Commit graph

2335 commits

Author SHA1 Message Date
sternenseemann e4969a6b76 haskellPackages.basic-cpuid: fix build on non-x86
Patch in missing import.
2021-08-06 15:32:15 +02:00
sternenseemann c66cc62b6c haskellPackages.ats-format: ignore custom Setup.hs, install manually
ats-format has a custom Setup.hs which does the following using cli-setup:

* Add ~/.local/share/man to $MANPATH by editing shell configurations in $HOME.

* Install a man page into ~/.local/share

* Install a shell completion by editing shell configurations in $HOME.

We had a workaround to keep this from failing the build in the nix sandbox, but
this seemingly broke on darwin. To fix this once and forall, we force the use
of only `defaultMain` in Setup.hs and install the man page manually.
Additionally we generate completions and remove unnecessary extra references
from the closure.
2021-08-06 11:28:54 +02:00
sternenseemann 31b625666e haskellPackages.gtk2hs-buildtools: attempt to fix on aarch64-linux
We employ a workaround for a GHC bug [1] which has been adopted by both
Debian and Fedora for a eerily similar problem on ppc64le. Hopefully
this fixes our aarch64 issue as well (untested so far). -O0 is not
ideal, but compilation with -fllvm fails when linking (due to an
invalid relocation and passing -fPIC wasn't enough to fix it), so
we're stuck with this for now.

[1]: https://gitlab.haskell.org/ghc/ghc/-/issues/17203
2021-08-04 22:36:53 +02:00
Julio César dee266e36d haskellPackages.beam-core: unbreak via jailbreak 2021-08-04 21:53:02 +02:00
sternenseemann dccf695448 haskellPackages.base16: unbreak
Test suite depends on an old version of base16-bytestring (but has not
set up constraints for it). Can't be bothered to add an old version of
it, let's just disable the test suite for now. This should fix itself
sooner or later.
2021-08-04 21:36:14 +02:00
sternenseemann 8de90d2779 haskellPackages.git-annex: adjust hash for 8.20210803 2021-08-04 20:29:47 +02:00
sternenseemann 1d6ac18d11 haskellPackages: fix evaluation problems related to haskeline_0_8_2
haskeline_0_8_1_2 was removed as the hackage version updated.
2021-08-04 13:04:41 +02:00
sternenseemann 9980dffc9b haskellPackages.tmp-postgres: disable flaky deps 2021-08-01 18:34:43 +02:00
sternenseemann 0dfe202312 haskellPackages.cabal2nix-unstable: fix distribution-nixpkgs override 2021-07-30 11:47:53 +02:00
sternenseemann 2eb7828b36 haskellPackages.cabal2nix-unstable: 2021-07-08 -> 2021-07-21
* Regenerate hackage-packages.nix

* Remove now unnecessary workaround for pam
2021-07-26 19:37:41 +02:00
sternenseemann d675e19abb haskellPackages.{hackage-db,distribution-nixpkgs}: new rel. bounds
* no released version of hackage2nix does support distribution-nixpkgs yet.

* hackage-db 2.1.2 fixes an annoying bug introduced in 2.1.1 and also supports
  Cabal 3.4: https://github.com/NixOS/cabal2nix/issues/501
2021-07-26 18:59:58 +02:00
(cdep)illabout 1d71ffb109
haskellPackages.focuslist: disable checks because doctests incorrectly fail 2021-07-21 16:09:47 +09:00
Joe Hermaszewski 3199c9188a
haskellPackages.nix-linter: remove unnecessary jailbreak 2021-07-20 18:34:43 +08:00
Gabriel Gonzalez c2b276292a
Merge pull request #129634 from Anton-Latukha/haskellPackages.upd-hnix-0.14
haskellPackages: allow hnix-store-{core,remote} 0.5
2021-07-18 10:13:24 -07:00
sternenseemann db84219ded haskellPackages.{rel8,tmp-postgres}: unbreak
1.1.0.0 brings us compatibility with opaleye >= 7.3.0.0, so we can get
rid of the old version as well. tmp-postgres was incorrectly marked as
broken (maybe due to a flaky failure) and can be unmarked.
2021-07-18 12:05:34 +02:00
sternenseemann ff83117733 haskellPackages.nix-linter: unbreak for hnix 0.14
Change to pname is necessary in order to not confuse jailbreak-cabal.
2021-07-18 11:40:50 +02:00
sternenseemann f93409efb9 haskellPackages.hnix: build with relude 1.0.0.1 and semialign 1.2
hnix needs these versions since 0.13, but we previously patched it to
use the versions tracked in stackage because that reduces the risk of
multiple versions of a package being propagated in the dependency tree
and breaking a build.

One major release later, patching hnix has become quite cumbersome, so
we'll bite the bullet for now and return to this approach if any
problems come up.
2021-07-18 11:19:50 +02:00
(cdep)illabout cd1fedf77b
git-annex: bump hash for latest version 2021-07-17 19:21:38 +09:00
sternenseemann f19fff9134 haskellPackages.rel8: unbreak by providing older opaleye 2021-07-11 13:37:40 +02:00
sternenseemann 3a6f8567a6 haskellPackages.large-hashable: unbreak
The source tarball now has DOS line endings for some reason, requiring
the use of dos2unix. Also needs a jailbreak since the template-haskell
bound has become too strict.
2021-07-09 16:38:25 +02:00
sternenseemann d5d44479c1 haskellPackages.graphql: unbreak
Upstream introduced too strict lower bounds in a new release. Since it's
too much hassle to create a new account in their redmine just for this
issue, I've used asserts to indicate when this will be able to be
removed.
2021-07-08 14:04:11 +02:00
sternenseemann 83e723aa17 haskellPackages.git-annex: update hash for 8.20210630 2021-07-03 00:36:01 +02:00
Joe Hermaszewski dfdc6ad216
haskellPackages.rel8: dontCheck
Flakey tests, upstream issue: https://github.com/circuithub/rel8/issues/86
2021-06-29 21:07:51 +08:00
Malte Brandy b96f5abe4d
haskellPackages.matrix-client: dontCheck 2021-06-27 12:07:48 +02:00
Tommy Bidne 4d5ef43b9c
haskellPackages.xmonad-wallpaper: remove jailbreak
Removing jailbreak as upstream issue has been fixed:

https://github.com/yeyan/xmonad-wallpaper/issues/2
2021-06-25 14:02:08 +12:00
sternenseemann 5a1ff51ed3 haskellPackages.git-annex: fix hash mismatch on darwin 2021-06-22 18:11:25 +02:00
Malte Brandy 25556077a5
haskellPackages.zenc: Jailbreak to fix tests 2021-06-22 12:48:43 +02:00
sternenseemann 245b76099a haskellPackages: clean up diagrams-related overrides
haskellPackages.dual-tree: downgrade to 0.2.2.1

Since the resolution of the following issues, we can remove a lot of
jailbreaks:

* https://github.com/diagrams/diagrams-core/issues/112
* https://github.com/diagrams/diagrams-cairo/issues/77
* https://github.com/diagrams/diagrams-rasterific/issues/63

Some we need to keep since the base 4.15 compatibility updates were
sometimes bundled with adjustments for monoid-extras 0.6 / diagrams-*
1.5 which we can't yet update to.

Downgrade dual-tree since 2.2.3.0 requires monoid-extras 0.6 (although
it seemed to compile with 0.5…).
2021-06-22 12:34:01 +02:00
Robert Hensing 877c07f556 haskellPackages.hercules-ci-agent: Remove obsolete override 2021-06-22 09:47:32 +02:00
Malte Brandy 23019ba481
haskellPackages.git-annex: Fix hash 2021-06-22 04:21:41 +02:00
Malte Brandy cd32f53cb1
haskellPackages.blucontrol: Remove obsolete override 2021-06-22 00:59:19 +02:00
sternenseemann 377924dd7b haskellPackages: take (more) tool dependencies from buildPackages
Fix instances of tool dependencies coming from `self` or `pkgs`
instead of `self.buildHaskellPackages` or `pkgs.buildPackages`
respectively. This makes sure cross-evaluation and -compilation will
work although their may still be more kinks to work out (or cases I
missed). This change was mostly created by searching for `[tTool]` and
`\${` in the respective files.

Note that this has intentionally not been for test tool dependencies:
Like in `stdenv.mkDerivation` we need to view tests as being executed
on the *host platform* which is why we can't run tests while cross
compiling anyways. In practice this is not an important distinction,
though: `pkgs.buildPackages` and `pkgs` are almost identical in the
native case.

Resolves #127232.
2021-06-22 00:18:12 +02:00
sternenseemann 0917e2ae27 haskellPackages.tasty-discover: run test suite in native case
For native compilation, we can just add the intermediary build
directory to `PATH` which allows the test suite to be preprocessed by
tasty-discover itself.

When cross-compiling, `doCheck` will be false anyways and this won't
matter (fingers crossed!).
2021-06-22 00:18:12 +02:00
sternenseemann c0b69bcbb9 haskellPackages.tasty-discover: simplify override
If we are cross compiling we can't and don't run the tests since they
wouldn't be able to be executed on the host platform.

While native compiling, we need to avoid an infinite recursion.
2021-06-22 00:18:12 +02:00
sternenseemann 83220ad7b9 haskellPackages.cachix: move shell completion override to configuration-nix 2021-06-21 20:14:35 +02:00
sternenseemann 29229016f9 haskellPackages.blucontrol: 0.5.0.0 -> 0.5.1.1
Unbreaks build since X11 >= 1.10 is supported as well.
2021-06-21 12:43:24 +02:00
Kerstin Humm 184df12179 haskellPackages.hakyll: fix build for Pandoc 2.14 2021-06-21 02:11:30 +02:00
sternenseemann dd728cd017 haskellPackages.tmp-postgres: fix test suite
Was failing before when trying to create files in `$HOME` and marked as
broken subsequently.
2021-06-20 23:51:37 +02:00
Malte Brandy 69e8d6b92a
haskellPackages.stylish-haskell: Fix on ghc 8.8.x 2021-06-20 23:22:32 +02:00
Malte Brandy cc0558d2ee
haskellPackages.ghcup: Jailbreak to fix build 2021-06-20 23:17:15 +02:00
Malte Brandy 1f8ca5256a
haskellPackages.email-validate: Jailbreak 2021-06-20 22:41:27 +02:00
Malte Brandy a5052e1c6e
haskellPackages.haskell-language-server: Fix build for 1.2.0.0 2021-06-20 21:56:34 +02:00
sternenseemann 1ff77ab23c haskellPackages: remove haskell-gi overrides obsolete due to lts
stackage LTS 18 luckily updated haskell-gi and related libraries to
0.25, so we can remove a lot of overrides. I also unrestricted some of
them in configuration-hackage2nix/main.yml and removed the overrides
updating them in configuration-common.nix (I guess the person doing
the upgrades thought those libraries were also in stackage).
2021-06-20 13:37:12 +02:00
sternenseemann 22af79ab45 haskellPackages.composite-{base,aeson}: assert indicating removal
Add assert which will fail when the overrides can be removed. Upstream
has patched the bounds, but hasn't made a new release nor a hackage
revision so far.
2021-06-19 19:45:57 +02:00
sternenseemann e8d2bf944d haskellPackages.tophat: unbreak 2021-06-17 11:25:36 +02:00
sternenseemann 1c3b2aa37b haskellPackages.proto-lens: unbreak 2021-06-17 11:19:24 +02:00
sternenseemann cacae0fc44 haskellPackages.composite-{base,aeson}: unbreak 2021-06-17 11:00:14 +02:00
sternenseemann ca264edb1b haskellPackages.table-layout: unbreak 2021-06-16 23:07:32 +02:00
Tommy Bidne faa7f48140 haskellPackages.xmonad-wallpaper: jailbreak
Compiles with random 1.2.0, but bound is too strict at <1.2.

Co-authored-by: sterni <sternenseemann@systemli.org>
2021-06-16 14:27:57 +02:00
sternenseemann ee899c8c93 haskellPackages.wide-word: remove now unnecessary override 2021-06-14 23:02:10 +02:00