Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G ghcup
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Haskell
  • ghcup
  • Merge requests
  • !86

Local versions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Ghost User requested to merge local-versions into master Apr 06, 2019
  • Overview 1
  • Commits 1
  • Changes 2

Remarks:

  1. The shim is hardcoded in ghcup currently. So if there is a bug, then we need to tell people to 'ghcup upgrade'. That could be a problem imo.
  2. the shim does some additional work, I'm not sure if this will in fact slow down compilation processes? A cat call and a [ -f file ] check.
  3. the local feature only works for the current directory (and only the current directory), there is no recursive upwards check performed, so if you are in a subdirectory of your project, it will not work

TODO:

  • I think there was some logic checking for ghc etc being dangling symlinks, clean that up
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: local-versions