haskellPackages.cabal-install: suppress error of missing local index (#370128)

authored by maralorn and committed by GitHub a0b2ae3e b0f9842a

+10
+10
pkgs/development/haskell-modules/configuration-nix.nix
··· 1389 ''; 1390 hydraPlatforms = pkgs.lib.platforms.all; 1391 broken = false; 1392 }) super.cabal-install; 1393 1394 tailwind = addBuildDepend
··· 1389 ''; 1390 hydraPlatforms = pkgs.lib.platforms.all; 1391 broken = false; 1392 + patches = old.patches or [ ] ++ [ 1393 + (pkgs.fetchpatch { 1394 + # related: https://github.com/haskell/cabal/issues/10504 1395 + name = "suppress-error-about-missing-local-index.patch"; 1396 + url = "https://github.com/haskell/cabal/commit/d58a75ef4adab36688878420cc9e2c25bca41ec4.patch"; 1397 + hash = "sha256-IZ+agNNN9AcIJBBsT30LAkAXCAoYKF+kIhccGPFdm+8="; 1398 + stripLen = 1; 1399 + includes = [ "src/Distribution/Client/IndexUtils.hs" ]; 1400 + }) 1401 + ]; 1402 }) super.cabal-install; 1403 1404 tailwind = addBuildDepend