@@ -112,16 +112,16 @@ will be passed to it:
112112
113113# Top-level attributes
114114
115−## project
115+## project'
116116
117117Function that accepts attribute set with a `src` attribute and looks for `stack.yaml` file relative to it.
118118
119−If file exists, it calls [stackProject](#stackproject) function. Otherwise it will call [cabalProject](#cabalproject) function.
119+If file exists, it calls [stackProject](#stackproject') function. Otherwise it will call [cabalProject](#cabalproject') function.
120120
121121**Example**:
122122
123123```nix
124−pkgs.haskell-nix.project {
124+pkgs.haskell-nix.project' {
125125 # 'cleanGit' cleans a source directory based on the files known by git
126126 src = pkgs.haskell-nix.haskellLib.cleanGit {
127127 name = "haskell-nix-project";
@@ -130,7 +130,7 @@ pkgs.haskell-nix.project {
130130}
131131```
132132
133−## stackProject
133+## stackProject'
134134
135135A function calling [callStackToNix](#callstacktonix) with all arguments.
136136
@@ -142,14 +142,13 @@ Then feeding its result into [mkStackPkgSet](#mkstackpkgset) passing also
142142| Attribute | Type | Description |
143143|-------------------|--------------------------------------------------|----------------------------------------------------------------------------|
144144| `hsPkgs` | Attrset of [Haskell Packages](#haskell-package) | Buildable packages, created from `packages` |
145−| `pkg-set` | Attrset | [`pkgSet`](#package-set) |
146145| `stack-nix` | | `projectNix` attribute of [`callStackToNix`](#callstacktonix) return value |
147146| `shellFor` | Function | [`shellFor`](#shellfor) |
148147| `ghcWithHoogle` | Function | [`ghcWithHoogle`](#ghcwithhoogle) |
149148| `ghcWithPackages` | Function | [`ghcWithPackages`](#ghcwithpackages) |
150149
151150
152−## cabalProject
151+## cabalProject'
153152
154153A function calling [callCabalProjectToNix](#callcabalprojecttonix) with all arguments.
155154
@@ -161,14 +160,18 @@ Then feeding its result into [mkCabalProjectPkgSet](#mkcabalprojectpkgset) passi
161160| Attribute | Type | Description |
162161|-------------------|--------------------------------------------------|-----------------------------------------------------------------------------|
163162| `hsPkgs` | Attrset of [Haskell Packages](#haskell-package) | Buildable packages, created from `packages` |
164−| `pkg-set` | Attrset | [`pkgSet`](#package-set) |
165163| `plan-nix` | | `projectNix` attribute of [`callCabalProjectToNix`](#callcabalprojecttonix) return value |
166164| `index-state` | | `index-state` attribute of [`callCabalProjectToNix`](#callcabalprojecttonix) return value |
167165| `shellFor` | Function | [`shellFor`](#shellfor) |
168166| `ghcWithHoogle` | Function | [`ghcWithHoogle`](#ghcwithhoogle) |
169167| `ghcWithPackages` | Function | [`ghcWithPackages`](#ghcwithpackages) |
170168
169+## project, cabalProject and stackProject
171170
171+These versions of the function are the same as project', cabalProject'
172+and stackProject', but `hsPkgs` attributes are also included in the
173+return value directly. That way a package can be referenced as
174+`(project {...}).foo` instead of `(project' {...}).hsPkgs.foo`.
172175
173176## mkStackPkgSet
174177
@@ -404,9 +407,11 @@ Sub-component types identify [components](#component) and are one of:
404407 - `tests`
405408 - `benchmarks`
406409
407−# Package-set functions
410+# Project functions
408411
409−These functions exist within the `hsPkgs` package set.
412+These functions are included in the `project` return values.
413+In the past they also existed within `project.hsPkgs`,
414+but have now been removed from there.
410415
411416## shellFor
412417