haskellPackages.d-bus: Fix for GHC 8.10.1+

Signed-off-by: Roosembert Palacios <roosemberth@posteo.ch>
main
Roosembert Palacios 3 years ago
parent f499d864bf
commit 2a194d990f
No known key found for this signature in database
GPG Key ID: CAAAECE5C2242BB7
  1. 19
      pkgs/development/haskell-modules/configuration-common.nix
  2. 1
      pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml

@ -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

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

Loading…
Cancel
Save