You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project 2 on Non-Haskell dependencies describes how to include a dependency of the Haskell application being built. However what about a dependency that is only required for development e.g. haskell-language-server, it should be possible to include that in release.nix somehow so it is available in a Nix shell.
The text was updated successfully, but these errors were encountered:
@jerbaroo: You can use pkgs.mkShell, which comes in handy for extending an existing derivation to create a shell-specific derivation.
For example, if pkgs.haskellPackages.mypkg.env contains the derivation for your default shell, then you can create an extended shell containing pkgs.haskell-language-server like this:
Project 2 on Non-Haskell dependencies describes how to include a dependency of the Haskell application being built. However what about a dependency that is only required for development e.g. haskell-language-server, it should be possible to include that in release.nix somehow so it is available in a Nix shell.
The text was updated successfully, but these errors were encountered: