Skip to content

Commit 6c9facf

Browse files
authored
Update development.md (#1010)
Remove inheritance from `shell.nix` when defining `hsPkgs`. I tried following the tutorial on a new project and I had errors caused by this.
1 parent 637302c commit 6c9facf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ themselves. This is what the [`shellFor`][shellFor] function does.
3737
{ pkgs ? import <nixpkgs> {} }:
3838
3939
let
40-
hsPkgs = import ./default.nix { inherit pkgs; };
40+
hsPkgs = import ./default.nix { };
4141
in
4242
hsPkgs.shellFor {
4343
# Include only the *local* packages of your project.

0 commit comments

Comments
 (0)