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.
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.
Original file line number Diff line number Diff line change @@ -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
Original file line number Diff line number Diff line change @@ -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.
You can’t perform that action at this time.
0 commit comments