Jump to content

Haskell: Difference between revisions

142 bytes added ,  10 January 2020
Link to an explanation by cdepillabout
imported>Srid
m (Formatting)
imported>Srid
(Link to an explanation by cdepillabout)
Line 2: Line 2:


[https://www.srid.ca/haskell-nix.html Nix recipes for Haskellers] aims to get a beginner comfortable managing simple Haskell programs and projects using Nix.
[https://www.srid.ca/haskell-nix.html 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 ==
== Limitations ==


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].
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].
Anonymous user