diff --git a/doc/languages-frameworks/haskell.md b/doc/languages-frameworks/haskell.md index 18b2fd65f44..904e3a5069e 100644 --- a/doc/languages-frameworks/haskell.md +++ b/doc/languages-frameworks/haskell.md @@ -383,7 +383,7 @@ You can select a particular GHC version to compile with by setting the Stack choose what GHC version it wants based on the snapshot specified in `stack.yaml` (only works with Stack >= 1.1.3): - {nixpkgs ? import { }, ghc ? nixpkgs.ghc} + {nixpkgs ? import { }, ghc ? nixpkgs.ghc}: with nixpkgs;