Fix wrong default.nix if following instructions blindly (#1148)
When copy-pasting the modified lines to the `default.nix` file, it will produce the following error:
`error: cannot coerce a set to a string, at [...]/default.nix`
Making the changes makes it work. Actually, the lines above (untouched in this PR) `fetchTarball "[...]/master.tar.gz"` were correct alread.
commit2e8af6c7b6cd46d14ad56fddf3bf6dfc581a5a02
authorPierre Penninckx <ibizapeanut@gmail.com>
dateThu 24 Jun 2021, 01:55 (5 years ago)
parentfa68031
docs/tutorials/getting-started.md+1−1
@@ -174,7 +174,7 @@ Straightforward way of doing this is to change the branch name to a revision.
174174
175175```nix
176176let sources = {
177− haskellNix = import (builtins.fetchTarball "https://github.com/input-output-hk/haskell.nix/archive/f1a94a4c82a2ab999a67c3b84269da78d89f0075.tar.gz") {};
177+ haskellNix = builtins.fetchTarball "https://github.com/input-output-hk/haskell.nix/archive/f1a94a4c82a2ab999a67c3b84269da78d89f0075.tar.gz";
178178 };
179179```
180180