diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 0f7e448b549a..3db55def763b 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2437,6 +2437,12 @@ githubId = 4331004; name = "Naoya Hatta"; }; + dalpd = { + email = "denizalpd@ogr.iu.edu.tr"; + github = "dalpd"; + githubId = 16895361; + name = "Deniz Alp Durmaz"; + }; DamienCassou = { email = "damien@cassou.me"; github = "DamienCassou"; diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 812029e5974d..3d98bcdaed88 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1272,10 +1272,21 @@ self: super: { gi-cairo-render = doJailbreak super.gi-cairo-render; gi-cairo-connector = doJailbreak super.gi-cairo-connector; - # Remove when https://github.com/gtk2hs/svgcairo/pull/10 gets merged. - svgcairo = appendPatch super.svgcairo (pkgs.fetchpatch { - url = "https://github.com/gtk2hs/svgcairo/commit/df6c6172b52ecbd32007529d86ba9913ba001306.patch"; - sha256 = "128qrns56y139vfzg1rbyqfi2xn8gxsmpnxv3zqf4v5spsnprxwh"; + svgcairo = overrideCabal super.svgcairo (drv: { + patches = [ + # Remove when https://github.com/gtk2hs/svgcairo/pull/10 gets merged. + (pkgs.fetchpatch { + url = "https://github.com/gtk2hs/svgcairo/commit/df6c6172b52ecbd32007529d86ba9913ba001306.patch"; + sha256 = "128qrns56y139vfzg1rbyqfi2xn8gxsmpnxv3zqf4v5spsnprxwh"; + }) + # The update here breaks svgcairo: + # https://github.com/NixOS/nixpkgs/commit/08fcd73d9dc9a28aa901210b259d9bfb3c228018 + # and updating the call to the header with the correct name fixes it. + (pkgs.fetchpatch { + url = "https://github.com/dalpd/svgcairo/commit/4dc6d8d3a6c24be0b8c1fd73b282ff247e7b1e6f.patch"; + sha256 = "1pq9ld9z67zsxj8vqjf82qwckcp69lvvnrjb7wsyb5jc6jaj3q0a"; + }) + ]; }); # Missing -Iinclude parameter to doc-tests (pull has been accepted, so should be resolved when 0.5.3 released) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index 6e40108ff8ba..8525f5542605 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -4716,7 +4716,6 @@ broken-packages: - SVD2HS - svfactor - svg-builder-fork - - svgcairo - svgutils - svm-light-utils - svm-simple diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index 2e0fa14b663a..e6a1c1e1be21 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -149,6 +149,8 @@ package-maintainers: - pretty-simple - spago - termonad + dalpd: + - svgcairo domenkozar: - cachix - cachix-api diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 85c8ffed4f4e..a0076c5f144b 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -258925,8 +258925,7 @@ self: { libraryPkgconfigDepends = [ librsvg ]; description = "Binding to the libsvg-cairo library"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; + maintainers = with lib.maintainers; [ dalpd ]; }) {inherit (pkgs) librsvg;}; "svgone" = callPackage