ci: Simplify usage directions
While discussing usage of head.hackage with Simon it was pointed out that it would be simpler for users if there were a single command which could be invoked to add head.hackage to a project. Here we refactor the cabal.project snippets to make this feasible. In particular, we now provide three files:
-
repo.projectcontains the minimal snippet which just defines thesource-repositorystanza -
cabal.constraintscontains the version constraints andallow-newerdeclaration -
cabal.projectis the concatenation of both
We can then instruct users to simply curl cabal.project into their cabal.project.local file.