haskellPackages.d-bus: Fix for GHC 8.10.1+

Signed-off-by: Roosembert Palacios <roosemberth@posteo.ch>
This commit is contained in:
Roosembert Palacios 2021-09-21 09:51:17 +02:00
parent f499d864bf
commit 2a194d990f
No known key found for this signature in database
GPG key ID: CAAAECE5C2242BB7
2 changed files with 19 additions and 1 deletions

View file

@ -612,6 +612,25 @@ self: super: {
'';
});
d-bus = let
# The latest release on hackage is missing necessary patches for recent compilers
# https://github.com/Philonous/d-bus/issues/24
newer = overrideSrc super.d-bus {
version = "unstable-2021-01-08";
src = pkgs.fetchFromGitHub {
owner = "Philonous";
repo = "d-bus";
rev = "fb8a948a3b9d51db618454328dbe18fb1f313c70";
hash = "sha256-R7/+okb6t9DAkPVUV70QdYJW8vRcvBdz4zKJT13jb3A=";
};
};
# Add now required extension on recent compilers.
# https://github.com/Philonous/d-bus/pull/23
in appendPatch newer (pkgs.fetchpatch {
url = "https://github.com/Philonous/d-bus/commit/e5f37900a3a301c41d98bdaa134754894c705681.patch";
sha256 = "6rQ7H9t483sJe1x95yLPAZ0BKTaRjgqQvvrQv7HkJRE=";
});
# * The standard libraries are compiled separately.
# * We need multiple patches from master to fix compilation with
# updated dependencies (haskeline and megaparsec) which can be

View file

@ -968,7 +968,6 @@ broken-packages:
- dbmigrations-mysql
- dbmigrations-postgresql
- dbmigrations-sqlite
- d-bus
- DBus
- dbus-core
- dbus-qq