haskell.packages.ghc98.libmpd: make fetchpatch urls reproducible

This commit is contained in:
Peder Bergebakken Sundt
2024-06-12 01:05:15 +02:00
parent feff02cf10
commit 7e9245b3de
@@ -131,8 +131,10 @@ self: super: {
hip = appendConfigureFlag "--ghc-options=-fsimpl-tick-factor=200" super.hip;
# Fix build with text-2.x.
libmpd = appendPatch (pkgs.fetchpatch
{ url = "https://github.com/vimus/libmpd-haskell/pull/138.patch";
libmpd = appendPatch
(pkgs.fetchpatch {
name = "138.patch"; # https://github.com/vimus/libmpd-haskell/pull/138
url = "https://github.com/vimus/libmpd-haskell/compare/95d3b3bab5858d6d1f0e079d0ab7c2d182336acb...f1cbf247261641565a3937b90721f7955d254c5e.patch";
sha256 = "Q4fA2J/Tq+WernBo+UIMdj604ILOMlIYkG4Pr046DfM=";
})
super.libmpd;