diff options
author | Alexei Pastuchov <info@maximka.de> | 2019-02-26 18:44:05 +0100 |
---|---|---|
committer | Alexei Pastuchov <info@maximka.de> | 2019-03-15 16:12:12 +0100 |
commit | 1f339d754eada3eeccfc0e3b221953facbc62329 (patch) | |
tree | f1a1b63308b00d9d3aded90f6767bb77f3e61812 /doc/languages-frameworks/haskell.section.md | |
parent | b9a1a2aadcb90a42f670717b0d01414a09c42068 (diff) | |
download | nixpkgs-1f339d754eada3eeccfc0e3b221953facbc62329.tar nixpkgs-1f339d754eada3eeccfc0e3b221953facbc62329.tar.gz nixpkgs-1f339d754eada3eeccfc0e3b221953facbc62329.tar.bz2 nixpkgs-1f339d754eada3eeccfc0e3b221953facbc62329.tar.lz nixpkgs-1f339d754eada3eeccfc0e3b221953facbc62329.tar.xz nixpkgs-1f339d754eada3eeccfc0e3b221953facbc62329.tar.zst nixpkgs-1f339d754eada3eeccfc0e3b221953facbc62329.zip |
haskell docs: add missed internal links into haskell.section.md
Diffstat (limited to 'doc/languages-frameworks/haskell.section.md')
-rw-r--r-- | doc/languages-frameworks/haskell.section.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/haskell.section.md b/doc/languages-frameworks/haskell.section.md index 81f662f1a17..c143d91c179 100644 --- a/doc/languages-frameworks/haskell.section.md +++ b/doc/languages-frameworks/haskell.section.md @@ -55,7 +55,7 @@ package `haskell-pandoc`, for example, installs both a library and an application. You can install and use Haskell executables just like any other program in Nixpkgs, but using Haskell libraries for development is a bit trickier and we'll address that subject in great detail in section [How to -create a development environment]. +create a development environment](#how-to-create-a-development-environment). Attribute paths are deterministic inside of Nixpkgs, but the path necessary to reach Nixpkgs varies from system to system. We dodged that problem by giving @@ -127,7 +127,7 @@ Also, the attributes `haskell.compiler.ghcXYC` and A simple development environment consists of a Haskell compiler and one or both of the tools `cabal-install` and `stack`. We saw in section -[How to install Haskell packages] how you can install those programs into your +[How to install Haskell packages](#how-to-install-haskell-packages) how you can install those programs into your user profile: ```shell nix-env -f "<nixpkgs>" -iA haskellPackages.ghc haskellPackages.cabal-install @@ -162,7 +162,7 @@ nix-shell -p haskell.compiler.ghc784 to bring GHC 7.8.4 into `$PATH`. Alternatively, you can use Stack instead of `nix-shell` directly to select compiler versions and other build tools per-project. It uses `nix-shell` under the hood when Nix support is turned on. -See [How to build a Haskell project using Stack]. +See [How to build a Haskell project using Stack](#how-to-build-a-haskell-project-using-stack). If you're using `cabal-install`, re-running `cabal configure` inside the spawned shell switches your build to use that compiler instead. If you're working on |