What is haskellng? What is the difference between haskellPackages and haskellngPackages?

I have read this https://stackoverflow.com/a/126908/ a post in which we recommend using the haskellng package haskellng .

I also read this , but I did not understand what haskellng .

I read this one , but I still don't know what haskellng .

Can someone explain that haskellng is a simple, understandable way?

Why does haskellng ? Why is it good?

I understand that haskellng is replacing something. But what is it that it replaces? Why does this need to be replaced?

This post says:

So I will never have to update if I do not want to?

I assume that 'haskellPackages' and 'haskellngPackages' will coexist for a while. Personally, I switched to Haskell NG, and I will no longer support any packages in the old hierarchy. I suppose other participants do the same. Once you have turned your installation into 'haskellngPackages', there is no reason to look back, really.

What is the difference between haskellPackages and haskellngPackages?

What is 'haskellPackages'? Where is it from? What is it used for?

They also write in the same message:

Why should I care about this "new infrastructure"?

The new code will violate the evaluation of any Haskell-related you can set in ~ / .nixpkgs / config.nix or /etc/nixos/configuration.nix.

Private generated cabal2nix expressions will stop compiling.

Installations that rely on ghc-wrapper that detect GHC libraries are automatically out of date in your ~ / .nix profile. If you use this, you will no longer be able to update your profile.

What new code? What is the old code? Why does the new code violate what?

+6
source share
2 answers

Can someone explain what haskellng is in a simple, understandable way?

Well, haskellng is the next generation Nix Haskell package created for Nix. I think most of the work was done by Peter Simons. But haskellngPackages in haskellPackages that the latest version of the haskellngPackages wizard haskellngPackages been renamed to haskellPackages . Therefore, the difference does not matter if you use life in an unstable channel.

Why does haskellng matter? Why is it good?

With haskellng , I think everything is automated. Someone downloads a package for hacking and after about a week, this package output is automatically included in the nix haskell package set (undex nixpkgs ) by some process (I assume it uses cabal2nix ).

What is the difference between haskellPackages and haskellngPackages?

In the last leading branch there is no difference between them, as described above.

What is 'haskellPackages'? Where is it from? What is it used for?

This was the mailbox infrastructure for Haskell nix packages. It was used to create and create Haskell packages.

What is the new code? What is the old code? Why does the new code violate it?

The new code is haskellngPackages . The old code was haskellPackages . But now it does not matter, since haskellng has been renamed to its former name, and the old code, in my opinion, has been deleted.

+8
source

I asked this on channel #nix:

me: Can someone explain what haskellng is? What is haskellng? What is the difference between haskellPackages and haskellngPackages?

Fuuzetsu: it doesn't matter anymore, this is the new default architecture and the old one doesn't exist

Fuuzetsu: we had 2 Haskell architectures for a while, and a new

+2
source

Source: https://habr.com/ru/post/989440/


All Articles