mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
Add missing import and fix typos in docs (#543)
This commit is contained in:
@@ -82,7 +82,7 @@ instantiate a package set.
|
||||
let
|
||||
# Import the Haskell.nix library,
|
||||
haskellNix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
|
||||
nixpkgs = haskellNix.sources.nixpgs-1909 haskellNix.nixpkgsArgs;
|
||||
nixpkgs = import haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
|
||||
haskell = nixpkgs.haskell-nix;
|
||||
|
||||
# Instantiate a package set using the generated file.
|
||||
|
||||
@@ -109,7 +109,7 @@ selects packages from the larger package set.
|
||||
# shell.nix
|
||||
let
|
||||
haskellNix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
|
||||
nixpkgs = haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
|
||||
nixpkgs = import haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
|
||||
haskell = nixpkgs.haskell-nix;
|
||||
in
|
||||
haskell.haskellPackages.ghcWithPackages (ps: with ps;
|
||||
@@ -128,7 +128,7 @@ project.
|
||||
```nix
|
||||
let
|
||||
haskellNix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
|
||||
nixpkgs = haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
|
||||
nixpkgs = import haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
|
||||
haskell = nixpkgs.haskell-nix;
|
||||
in
|
||||
haskell.snapshots."lts-13.18".alex.components.exes.alex
|
||||
|
||||
@@ -44,7 +44,7 @@ instantiate a package set.
|
||||
let
|
||||
# Import the Haskell.nix library,
|
||||
haskellNix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
|
||||
nixpkgs = haskellNix.sources.nixpgs-1909 haskellNix.nixpkgsArgs;
|
||||
nixpkgs = import haskellNix.sources.nixpkgs-1909 haskellNix.nixpkgsArgs;
|
||||
haskell = nixpkgs.haskell-nix;
|
||||
|
||||
# Instantiate a package set using the generated file.
|
||||
|
||||
Reference in New Issue
Block a user