on iko/ghcjs-patch-master help sign in
Add missing `import` and fix typos in docs (#543)
commit42f7eb16c7d16631700aec9e26a6a55f33e8c477 authorHamish Mackenzie <Hamish.Mackenzie@iohk.io> dateMon 13 Apr 2020, 01:10 (7 years ago) parentded93b3
3 files changed+4−4
docs/user-guide/cabal-projects.md+1−1 docs/user-guide/development.md+2−2 docs/user-guide/stack-projects.md+1−1
docs/user-guide/cabal-projects.md+1−1
@@ -82,7 +82,7 @@ instantiate a package set.
8282let
8383 # Import the Haskell.nix library,
8484 haskellNix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
85− nixpkgs = haskellNix.sources.nixpgs-1909 haskellNix.nixpkgsArgs;
85+ nixpkgs = import haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
8686 haskell = nixpkgs.haskell-nix;
8787
8888 # Instantiate a package set using the generated file.
docs/user-guide/development.md+2−2
@@ -109,7 +109,7 @@ selects packages from the larger package set.
109109# shell.nix
110110let
111111 haskellNix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
112− nixpkgs = haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
112+ nixpkgs = import haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
113113 haskell = nixpkgs.haskell-nix;
114114in
115115 haskell.haskellPackages.ghcWithPackages (ps: with ps;
@@ -128,7 +128,7 @@ project.
128128```nix
129129let
130130 haskellNix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
131− nixpkgs = haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
131+ nixpkgs = import haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
132132 haskell = nixpkgs.haskell-nix;
133133in
134134 haskell.snapshots."lts-13.18".alex.components.exes.alex
docs/user-guide/stack-projects.md+1−1
@@ -44,7 +44,7 @@ instantiate a package set.
4444let
4545 # Import the Haskell.nix library,
4646 haskellNix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
47− nixpkgs = haskellNix.sources.nixpgs-1909 haskellNix.nixpkgsArgs;
47+ nixpkgs = import haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
4848 haskell = nixpkgs.haskell-nix;
4949
5050 # Instantiate a package set using the generated file.