Managing issues with the Haskell Stack projects under NixOS

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/NixOS

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • GitHub repo stack

    The Haskell Tool Stack

    and need to change my stack to use a newer version of ghc that nixpkgs switched to like ghc8106. This is actually open as an issue in the stack project https://github.com/commercialhaskell/stack/issues/4539. However it's more than just a stack issue, even if stack were to fix this part of the problem is haskell-language-server that runs haskell-lsp keeps updating its supported ghc versions. Fixing stack but being unable to use my development environment doesn't do me much good.

  • GitHub repo envrc

    Emacs support for direnv which operates buffer-locally

    Use direnv: https://direnv.net/ (nix package - you could probably look at nix-direnv) and then use https://github.com/purcell/envrc with emacs, whenever you load a file that's in a project with a .envrc file emacs will get your nix environment for that project (shell.nix)

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo direnv

    unclutter your .profile

    Use direnv: https://direnv.net/ (nix package - you could probably look at nix-direnv) and then use https://github.com/purcell/envrc with emacs, whenever you load a file that's in a project with a .envrc file emacs will get your nix environment for that project (shell.nix)

  • GitHub repo nix-haskell-example

    Here: I threw together an example (without flakes): https://github.com/erikbackman/nix-haskell-example

  • GitHub repo nixpkgs

    Nix Packages collection

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts