File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,17 @@ There are more details about our approach [in this blog post](https://4ta.uk/p/s
31
31
32
32
#### With Nix
33
33
34
- [ See ghcide-nix repository] ( https://github.com/hercules-ci/ghcide-nix )
34
+ Note that you need to compile ` ghcide ` with the same ` ghc ` as the project you are working on.
35
+
36
+ 1 . If the ` ghc ` you are using matches the version (or better is) from ` nixpkgs ` it‘s easiest to use the ` ghcide ` from ` nixpkgs ` . You can do so via
37
+ ```
38
+ nix-env -iA haskellPackages.ghcide
39
+ ```
40
+ or e.g. including ` pkgs.haskellPackages.ghcide ` in your projects ` shell.nix ` .
41
+ Depending on your ` nixpkgs ` channel that might not be the newest ` ghcide ` , though.
42
+
43
+ 2 . If your ` ghc ` does not match nixpkgs you should try the [ ghcide-nix repository] ( https://github.com/cachix/ghcide-nix )
44
+ which provides a ` ghcide ` via the ` haskell.nix ` infrastructure.
35
45
36
46
#### With Cabal or Stack
37
47
You can’t perform that action at this time.
0 commit comments