Automate Haskell development with nixpkgs
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Peter J. Jones 30da83d5a1
Add the `-i' flag to use an impure shell (suppress `--pure')
il y a 5 jours
nix Add full support for v2 style cabal building il y a 5 jours
src Add the `-i' flag to use an impure shell (suppress `--pure') il y a 5 jours
templates nix-hs: invert -H, load custom nixpkgs il y a 8 mois
.gitignore Switch to Cabal v2 style aliases il y a 2 semaines
LICENSE Officially rename this project to Phoebe il y a 1 an
README.md Officially rename this project to Phoebe il y a 1 an
default.nix Remove support for stack and make, align with current nixpkgs il y a 1 mois
overlay.nix Remove support for stack and make, align with current nixpkgs il y a 1 mois

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.