Jump to content

Haskell: Difference between revisions

30 bytes removed ,  5 October 2022
cabal2nix is not deprecated
imported>Tobias.bora
No edit summary
imported>Sternenseemann
(cabal2nix is not deprecated)
Line 293: Line 293:
== Limitations ==
== Limitations ==


When using the (deprecated for the end user) tool <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]. You should be using `callCabal2nix` anyway.
When using the <code>cabal2nix</code> tool, 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]. You should be using `callCabal2nix` anyway.


== IFD and Haskell ==
== IFD and Haskell ==