Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 166
    • Issues 166
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #301

Closed
Open
Opened Jan 25, 2024 by delanoe@anoe
  • Report abuse
  • New issue
Report abuse New issue

Stack2cabal install

Inside our nix-shell: cabal v2-install stack2cabal-1.0.14

giveds that error: lib/StackageToHackage/Stackage.hs:144:24: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘Dep’ not matched: Hackage _ LocalDep _ | 144 | gitsLhs = ((SourceDep dep) -> dep) <$> filter isGitDep lhs | ^^^^^^^^^^^^^^^^^^^^^^^

lib/StackageToHackage/Stackage.hs:145:24: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘Dep’ not matched: Hackage _ LocalDep _ | 145 | gitsRhs = ((SourceDep dep) -> dep) <$> filter isGitDep rhs | ^^^^^^^^^^^^^^^^^^^^^^^ [7 of 7] Compiling StackageToHackage.Hackage ( lib/StackageToHackage/Hackage.hs, dist/build/StackageToHackage/Hackage.o, dist/build/StackageToHackage/Hackage.dyn_o )

lib/StackageToHackage/Hackage.hs:42:48: error: Module ‘Distribution.PackageDescription.Parsec’ does not export ‘readGenericPackageDescription’ | 42 | import Distribution.PackageDescription.Parsec (readGenericPackageDescription) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: cabal: Failed to build stack2cabal-1.0.14 (which is required by exe:stack2cabal from stack2cabal-1.0.14). See the build log above for details.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#301