简体   繁体   English

在nixOS上安装haskell平台

[英]install haskell-platform on nixOS

It's said to be a good starting point for haskell-beginners: the haskell platform. 对于Haskell初学者来说,这是一个不错的起点:haskell平台。 unfortunately, it looks like it's been removed from the nix-os package manager. 不幸的是,它似乎已从nix-os软件包管理器中删除。

What would be the preferred way to quickly get this up and running on a nix-os system? 快速启动并在nix-os系统上运行的首选方法是什么?

The philosophy of the nix packagers is not to assemble the platform packages and tools together, but that it is more "nixy" to just provide a the various ghc compiler versions and tools individually in a standard nix way. nix打包程序的理念不是将平台程序包和工具组装在一起,而是以标准nix方式单独提供各种ghc编译器版本和工具更为“灵活”。 Since nix also handles haskell package management for you, the platform approach indeed just provides friction in this case, and you're better off following the User's Guide to Haskell Infrastructure from nix as linked above. 由于nix还可以为您处理haskell软件包管理,因此在这种情况下,平台方法确实会带来麻烦,您最好遵循上面链接的nix的《 Haskell基础设施用户指南》。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM