Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • H head.hackage
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • head.hackage
  • Issues
  • #23
Closed
Open
Created Jul 15, 2020 by Ben Gamari@bgamari🐢Maintainer

Add support for cabal-install `active-repositories` option

cabal-install-3.4 will support an active-repositories option in cabal.project which allows a repository to "override" packages of another package. For instance, one might write:

active-repositories: hackage.haskell.org, head.hackage:override

This requires that if head.hackage provides a version of a package, then the solver may not use any version provided by hackage.haskell.org.

We should include this option in the generated cabal.project.local snippet.

Edited Jul 15, 2020 by Ben Gamari
Assignee
Assign to
Time tracking