File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ instantiate a package set.
82
82
let
83
83
# Import the Haskell.nix library,
84
84
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;
86
86
haskell = nixpkgs.haskell-nix;
87
87
88
88
# Instantiate a package set using the generated file.
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ selects packages from the larger package set.
109
109
# shell.nix
110
110
let
111
111
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;
113
113
haskell = nixpkgs.haskell-nix;
114
114
in
115
115
haskell.haskellPackages.ghcWithPackages (ps: with ps;
@@ -128,7 +128,7 @@ project.
128
128
``` nix
129
129
let
130
130
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;
132
132
haskell = nixpkgs.haskell-nix;
133
133
in
134
134
haskell.snapshots."lts-13.18".alex.components.exes.alex
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ instantiate a package set.
44
44
let
45
45
# Import the Haskell.nix library,
46
46
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;
48
48
haskell = nixpkgs.haskell-nix;
49
49
50
50
# Instantiate a package set using the generated file.
You can’t perform that action at this time.
0 commit comments