Skip to content

Instantly share code, notes, and snippets.

@fendor
Created July 26, 2020 18:02
Show Gist options
  • Save fendor/e60000033b601f56d3aeaf6bae58a7d3 to your computer and use it in GitHub Desktop.
Save fendor/e60000033b601f56d3aeaf6bae58a7d3 to your computer and use it in GitHub Desktop.
• Couldn't match type ‘PackageIdentifier’
with ‘PackageIdentifier’
NB: ‘PackageIdentifier’
is defined in ‘Distribution.Types.PackageId’
in package ‘Cabal-3.3.0.0’
‘PackageIdentifier’
is defined in ‘Distribution.Types.PackageId’ in package ‘fake_uid’
Expected type: PackageIdentifier
Actual type: PackageId
• In the second argument of ‘Sec.indexLookupHash’, namely ‘pkgid’
In the second argument of ‘(<$>)’, namely
‘Sec.indexLookupHash repoIndex pkgid’
In a stmt of a 'do' block:
hash <- Sec.trusted <$> Sec.indexLookupHash repoIndex pkgid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment