Haskell

From NixOS Wiki
Revision as of 14:56, 20 January 2020 by imported>Srid (callCabal2nix)

Introduction

Nix recipes for Haskellers aims to get a beginner comfortable managing simple Haskell programs and projects using Nix.

How Haskell packages are managed in nixpkgs

https://discourse.nixos.org/t/haskellpackages-stm-containers-fails-to-build/5416/4?u=srid

Limitations

When using cabal2nix, Nix does not pull a cabal package by respecting the constraint specified in the cabal file (see example). Issue is discussed here. You should be using `callCabal2nix` anyway.