Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/input-output-hk/haskell.nix
Alternative Haskell Infrastructure for Nixpkgs
https://github.com/input-output-hk/haskell.nix
build-tool hacktoberfest haskell infrastructure nix nix-expressions
Last synced: 25 days ago
JSON representation
Alternative Haskell Infrastructure for Nixpkgs
- Host: GitHub
- URL: https://github.com/input-output-hk/haskell.nix
- Owner: input-output-hk
- License: apache-2.0
- Created: 2018-04-20T16:00:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T11:48:19.000Z (6 months ago)
- Last Synced: 2024-05-22T20:49:34.510Z (6 months ago)
- Topics: build-tool, hacktoberfest, haskell, infrastructure, nix, nix-expressions
- Language: Nix
- Homepage: https://input-output-hk.github.io/haskell.nix
- Size: 19.3 MB
- Stars: 532
- Watchers: 21
- Forks: 232
- Open Issues: 184
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: COPYING
Awesome Lists containing this project
- best-of-crypto - GitHub - 21% open · ⏱️ 05.06.2024): (Smart Contract Platforms)
- awesome-nix - haskell.nix - Alternative Haskell Infrastructure for Nixpkgs. (Programming Languages / Haskell)
README
# `haskell.nix` is infrastructure for building Haskell packages with Nix
`haskell.nix` can automatically translate your Cabal or Stack project and
its dependencies into Nix code.## Documentation
- [Introduction](https://input-output-hk.github.io/haskell.nix/index.html)
- [Getting Started](https://input-output-hk.github.io/haskell.nix/tutorials/getting-started)
- [Troubleshooting](https://input-output-hk.github.io/haskell.nix/troubleshooting)
- Explore the documentation from there to find further topics.## Help! Something isn't working
The #1 problem that people have when using `haskell.nix` is that they find themselves building GHC.
This should not happen, but you *must* follow the `haskell.nix` setup instructions properly to avoid it.
If you find this happening to you, please check that you have followed the
[getting started instructions](https://input-output-hk.github.io/haskell.nix/tutorials/getting-started#setting-up-the-binary-cache) and
consult the corresponding [troubleshooting section](https://input-output-hk.github.io/haskell.nix/troubleshooting#why-am-i-building-ghc).The troubleshooting documentation also contains some help for other common issues. If you're still stuck open an issue.
## Related repos
The `haskell.nix` repository contains the runtime system for building
Haskell packages in Nix. It depends on other repos, which are:- [`hackage.nix`](https://github.com/input-output-hk/hackage.nix) — the latest contents of the [Hackage](https://hackage.haskell.org/) databases, converted to Nix expressions.
- [`stackage.nix`](https://github.com/input-output-hk/stackage.nix) — all of the [Stackage](https://www.stackage.org/) snapshots, converted to Nix expressions.
> [!NOTE]
> For commercial support, please don't hesitate to reach out at [email protected]