什么是哈斯克林? 'haskellPackages' 和 'haskellngPackages' 有什么区别?

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

我一直在阅读这篇 post,其中建议我们使用 haskellng 软件包集。

我也看过this,但我不明白haskellng是什么。

我也看过this,但我还是不知道haskellng是什么

有人可以简单明了地解释一下 haskellng 是什么吗?

为什么 haskellng 很重要?为什么好?

我知道 haskellng 正在替换某些东西。但它取代的是什么东西?为什么需要更换某些东西?

thispost中写着:

So I'll never have to update if I don't want to?

My guess is that 'haskellPackages' and 'haskellngPackages' will co-exist for a while. Personally, I switched to Haskell NG, though, and I won't maintain any packages in the old hierarchy anymore. I suppose other contributors will do the same thing. Once you've converted your setup to 'haskellngPackages', there's no reason to look back, really.

'haskellPackages' 和 'haskellngPackages' 有什么区别?

什么是'haskellPackages'?它从何而来 ?这有什么用途 ?

他们还在 same post 中写道:

Why should I care about this "new infrastructure"?

The new code will break evaluation of any Haskell-related configuration you may have in ~/.nixpkgs/config.nix or /etc/nixos/configuration.nix.

Privately generated cabal2nix expressions will cease to compile.

Installations that rely on ghc-wrapper finding GHC libraries automatically in your ~/.nix-profile are obsolete. If you use this approach, you won't be able to update your profile anymore.

新代码是什么?旧代码是什么?为什么新代码破坏了什么?

Could someone please explain what haskellng is in a simple, clear way?

好吧,haskellng 是为 Nix 制作的下一代 Nix Haskell 软件包集。我认为大部分工作都是彼得·西蒙斯完成的。但是 请注意 在最新的主版本中,haskellngPackages 已重命名回 haskellPackages。因此,如果您使用的是不稳定频道中的生活,那么差异并不重要。

Why does haskellng matter ? Why is it good ?

有了 haskellng,我想一切都是自动化的。有人将一个包上传到 hackage,大约一周后,该包派生通过某些过程自动包含在 nix haskell 包集 (undex nixpkgs) 中(我猜它利用了 cabal2nix).

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

在最新的 master 分支中,它们之间没有区别,如上所述。

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

它是 Haskell nix 包的早期基础设施。它用于,嗯,创建和构建 Haskell 包。

What is the new code ? What was the old code ? Why is the new code it breaking what ?

新代码是haskellngPackages。旧代码是 haskellPackages。但现在没关系,因为 haskellng 已重命名回旧名称,我猜旧代码已被删除。

我在 #nix 频道上问过这个问题:

me: Could someone please explain what haskellng is ?

Fuuzetsu: it no longer matters, it's the default new architecture and the old one doesn't exist

Fuuzetsu: we had 2 Haskell architectures for a while and -ng was the new one