haskellPackages.cabal-install: suppress error of missing local index

This commit is contained in:
Lin Jian
2025-01-02 13:22:58 +08:00
parent ce6566efb4
commit 6b9fe1cd61
@@ -1389,6 +1389,16 @@ self: super: builtins.intersectAttrs super {
'';
hydraPlatforms = pkgs.lib.platforms.all;
broken = false;
patches = old.patches or [ ] ++ [
(pkgs.fetchpatch {
# related: https://github.com/haskell/cabal/issues/10504
name = "suppress-error-about-missing-local-index.patch";
url = "https://github.com/haskell/cabal/commit/d58a75ef4adab36688878420cc9e2c25bca41ec4.patch";
hash = "sha256-IZ+agNNN9AcIJBBsT30LAkAXCAoYKF+kIhccGPFdm+8=";
stripLen = 1;
includes = [ "src/Distribution/Client/IndexUtils.hs" ];
})
];
}) super.cabal-install;
tailwind = addBuildDepend