3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #138937 from roosemberth/hs-fix-d-bus

haskellPackages.d-bus: Fix for GHC 8.10.1+
This commit is contained in:
maralorn 2021-09-24 11:19:12 +02:00 committed by GitHub
commit 291c46808e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 3 deletions

View file

@ -605,6 +605,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

View file

@ -68830,8 +68830,6 @@ self: {
];
description = "Permissively licensed D-Bus client library";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"d10" = callPackage