We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53cd6d9 commit 595ca11Copy full SHA for 595ca11
lib/Stack2nix.hs
@@ -201,10 +201,11 @@ packages2nix args pkgs =
201
defaultNixContents :: String
202
defaultNixContents = unlines
203
[ "{ haskellNixSrc ? builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz"
204
- , ", nixpkgs ? haskellNixSrc + \"/nixpkgs\" }:"
+ , "}:"
205
, ""
206
, "let"
207
- , " pkgs = import nixpkgs (import haskellNixSrc);"
+ , " haskellNix = import haskellNixSrc { };"
208
+ , " pkgs = import haskellNix.sources.nixpkgs-2003 haskellNix.nixpkgsArgs;"
209
210
, " pkgSet = pkgs.haskell-nix.mkStackPkgSet {"
211
, " stack-pkgs = import ./pkgs.nix;"
0 commit comments