Haskell packages installation with Nix

for a beginner like me, it’s a real hell to install Haskell packages via Nix… Well the package seems to exist on NixOs, namely “haskellPackages.validation”. I guess it’s the good one that allows import Data.Validation. What should be indicated in the replit.com file and where? between the square brackets following “pkgs:”? put “pkgs.Validation”? or “pkgs.haskellPackages.validation”? or “haskellPackages.validation”? Please help me because at this point I don’t understand anything in the official Nix documentation. Thanks again

We’ve recently updated our documentation showing how to install packages from nix in detail. See the NodeJS example:


1 Like