Managing issues with the Haskell Stack projects under NixOS

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • 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)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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)

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

  • nixpkgs

    Nix Packages collection & NixOS

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
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