@@ -25,8 +25,7 @@ effort basis.
2525
2626Anyone can add any package to Stackage but you may only add packages under your own name. It's highly encouraged that the actual package maintainer is also the Stackage maintainer, if that is not the case you should drop the package maintainer a note first.
2727
28−To add your package, first fork this repository.
29−In the [`build-constraints.yaml`](https://github.com/fpco/stackage/blob/master/build-constraints.yaml) file, there's a section called `packages`.
28+To add your package you can edit [`build-constraints.yaml`](https://github.com/fpco/stackage/blob/master/build-constraints.yaml) directly on github or fork the project. There's a section called `packages`.
3029To add a set of packages, you would add:
3130
3231 "My Name <myemail@example.com> @mygithubuser":
@@ -34,16 +33,16 @@ To add a set of packages, you would add:
3433 - package2
3534 - package3
3635
37−Note that the `master` branch is used for Stackage Nightly (not the `nightly` branch, which is used for the nightly docker builder imagine).
36+Note that you should edit on the `master` branch (and not the `nightly` branch, which is used for the nightly docker builder image).
3837
3938After doing that, send a pull request (with a commit message like "add foo-bar"). We do not require new submissions to be tested against the rest of Stackage before the pull request (though it is a good idea to do so if you can with `stack --resolver nightly exec stackage-curator check` and `stack --resolver nightly build`), provided you meet the dependency version requirements above. If your library depends on a C library, add a note to your pull request with the Ubuntu library name, or even better edit the `debian-bootstrap.sh` script directly
4039
4140If you want to make sure that the package builds against the newest versions of all dependencies you can do this:
4241```
4342$ cabal update
44−$ ghc --version # Should give v8.0.2
45−$ cabal get PACKAGE-VERSION # e.g. aeson-0.11.2.1
46−$ cd PACKAGE-VERSION
43+$ ghc --version # Should be the same as the latest nightly, it's in the title of https://www.stackage.org/nightly
44+$ cabal get PACKAGE
45+$ cd PACKAGE-*
4746$ cabal sandbox init # Should give "Creating a new sandbox" and not "Using an existing sandbox".
4847$ cabal install --enable-tests --enable-benchmarks --dry-run | grep latest # Should give no results
4948$ cabal install --enable-tests --enable-benchmarks --allow-newer