Skip to content

fix hostPlatform rename warning - #2122

Open
cleverca22 wants to merge 1 commit into
IntersectMBO:masterfrom
blockfrost:fix-warnings
Open

fix hostPlatform rename warning#2122
cleverca22 wants to merge 1 commit into
IntersectMBO:masterfrom
blockfrost:fix-warnings

fix hostPlatform rename warning

5cf42d6
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-linux.checks.hlint failed Apr 30, 2026 in 44s

Build failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/cp1f1ddx43gl1sy8y43xyn8529592h2w-hlint-check.drv

Log

cardano-db/test/Test/IO/Cardano/Db/EpochCalc.hs:54:31-35: Suggestion: Use underscore
Found:
  21600
Perhaps:
  21_600

cardano-db/test/Test/IO/Cardano/Db/EpochCalc.hs:115:12-42: Suggestion: Avoid lambda
Found:
  \ i -> void . insertTx $ bigTx i
Perhaps:
  void . insertTx . bigTx

2 hints
=====================================================================
Note: to ignore a particular hint (e.g. "Reduce duplication"), write
this in the source file:
{-# ANN module ("HLint: ignore Reduce duplication" :: Text) #-}
You can also apply it just to a particular function, which is better:
{-# ANN funcName ("HLint: ignore Reduce duplication" :: Text) #-}