@@ -108,7 +108,9 @@ selects packages from the larger package set.
109# shell.nix
109# shell.nix
111− haskell = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
111+ src = builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz;
112+ nixpkgs = import (src + "/nixpkgs") (import src);
113+ haskell = nixpkgs.haskell-nix;
113 haskell.haskellPackages.ghcWithPackages (ps: with ps;
115 haskell.haskellPackages.ghcWithPackages (ps: with ps;
114 [ lens conduit conduit-extra ])
116 [ lens conduit conduit-extra ])
@@ -125,7 +127,9 @@ project.
128− haskell = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {};
130+ src = builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz;
131+ nixpkgs = import (src + "/nixpkgs") (import src);
132+ haskell = nixpkgs.haskell-nix;
130 haskell.snapshots."lts-13.18".alex.components.exes.alex
134 haskell.snapshots."lts-13.18".alex.components.exes.alex