Skip to content
This repository was archived by the owner on Aug 2, 2020. It is now read-only.
This repository was archived by the owner on Aug 2, 2020. It is now read-only.

Improve documentation for cross compilation #513

@chitrak7

Description

@chitrak7

In the documentation for building cross-compiling GHC, the steps mentioned are :
git clone https://github.com/ghc/ghc
cd ghc
git clone https://github.com/snowleopard/hadrian

this step will result in an error at multiple sub-repositories with the error similar this :
fatal: repository 'https://github.com/ghc/packages/deepseq.git/' not found.

It is because of GitHub's policy to not include '/' in names. This can be easily removed by the following command.
git config --global url."https://github.com/ghc/packages-".insteadOf https://github.com/ghc/packages/

I think this should be included in the documentation.

@snowleopard
Also, if this change is approved, can I put the PR myself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions