Automate Haskell development with nixpkgs
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Peter J. Jones ec3e45777a
Remove unneeded repl args, don't pass `repl' to the repl
3 天前
nix Switch to Cabal v2 style aliases 1周前
src Remove unneeded repl args, don't pass `repl' to the repl 3 天前
templates nix-hs: invert -H, load custom nixpkgs 8 个月前
.gitignore Switch to Cabal v2 style aliases 1周前
LICENSE Officially rename this project to Phoebe 1年前
README.md Officially rename this project to Phoebe 1年前
default.nix Remove support for stack and make, align with current nixpkgs 1 个月前
overlay.nix Remove support for stack and make, align with current nixpkgs 1 个月前

README.md

Haskell + nixpkgs = nix-hs

Are you a Haskell programmer? Do you use nixpkgs? Want to make using those two together really simple? You’re in luck.

This project provides a set of Nix files and a tool called nix-hs that makes working with Haskell projects very simple. For starters, Nix files are automatically generated and updated as needed. Other features include:

  • Works with both cabal and stack
  • Build with profiling using a command line option
  • Easily use any version of GHC in nixpkgs
  • Interactive development and package generation

Installing nix-hs

Coming soon…

Hint: Install it as an overlay.

Interactive Development

Coming soon…

Hint: $ nix-hs -h

Making a Private Package for nixpkgs

Coming soon…

Other Things You Should Know

  • In order to be idempotent, nix-hs runs cabal without a configuration file (usually ~/.cabal/config). This also keeps cabal from downloading packages from hackage.