Haskell: Difference between revisions

From NixOS Wiki
imported>Srid
Update link, and add blurb
imported>Srid
m Formatting
Line 5: Line 5:
== Limitations ==
== Limitations ==


When using cabal2nix, Nix does not pull a cabal package by respecting the constraint specified in the cabal file.
When using <code>cabal2nix</code>, Nix does not pull a cabal package by respecting the constraint specified in the cabal file (see [https://github.com/chrissound/Cabal2NixLimitationExample example]). Issue is discussed [https://stackoverflow.com/questions/57441156/pulling-in-specific-haskell-packages-cabal-dependencies-with-nix here].
As an example: https://github.com/chrissound/Cabal2NixLimitationExample
 
Issue is discussed here as well: https://stackoverflow.com/questions/57441156/pulling-in-specific-haskell-packages-cabal-dependencies-with-nix

Revision as of 21:39, 10 January 2020

Introduction

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

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.