summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorMathieu Boespflug <m@tweag.io>2016-03-04 21:24:42 +0100
committerMathieu Boespflug <m@tweag.io>2016-03-04 21:24:42 +0100
commit7fedb7c9922ec3c715851c54f689c949fae14da9 (patch)
treea2ea37ee060bda838bd7464c98e9c060a1ba63e1 /doc
parent6f09628c321e19f999eb6f2f59fde829723a5c2d (diff)
downloadnixpkgs-7fedb7c9922ec3c715851c54f689c949fae14da9.tar
nixpkgs-7fedb7c9922ec3c715851c54f689c949fae14da9.tar.gz
nixpkgs-7fedb7c9922ec3c715851c54f689c949fae14da9.tar.bz2
nixpkgs-7fedb7c9922ec3c715851c54f689c949fae14da9.tar.lz
nixpkgs-7fedb7c9922ec3c715851c54f689c949fae14da9.tar.xz
nixpkgs-7fedb7c9922ec3c715851c54f689c949fae14da9.tar.zst
nixpkgs-7fedb7c9922ec3c715851c54f689c949fae14da9.zip
Move `buildStackProject` to `haskell.lib`.
Diffstat (limited to 'doc')
-rw-r--r--doc/haskell-users-guide.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/haskell-users-guide.md b/doc/haskell-users-guide.md
index da923db602d..ce61295e567 100644
--- a/doc/haskell-users-guide.md
+++ b/doc/haskell-users-guide.md
@@ -363,7 +363,7 @@ instead of `packages`:
 
 For more on how to write a `shell.nix` file see the below section. You'll need
 to express a derivation. Note that Nixpkgs ships with a convenience wrapper
-function around `mkDerivation` called `haskell.buildStackProject` to help you
+function around `mkDerivation` called `haskell.lib.buildStackProject` to help you
 create this derivation in exactly the way Stack expects. All of the same inputs
 as `mkDerivation` can be provided. For example, to build a Stack project that
 including packages that link against a version of the R library compiled with
@@ -373,7 +373,7 @@ special options turned on:
 
     let R = pkgs.R.override { enableStrictBarrier = true; };
     in
-	haskell.buildStackProject {
+	haskell.lib.buildStackProject {
       name = "HaskellR";
 	  buildInputs = [ R zeromq zlib ];
     }