[Nix-dev] cabal not working well out the box

Marc Weber marco-oweber at gmx.de
Thu Dec 23 16:04:13 CET 2010


Hi Paul,

Grep nixpkgs for "$out/nix-support/propagated-user-env-packages".

That's the way to tell nix-env to install additional packages to cabal
into your environment.

An alternative is this approach which let's you install multiple
packages using one derivation only:
http://wiki.nixos.org/wiki/Howto_keep_multiple_packages_up_to_date_at_once

I also encourage you having a look at hack-nix which is a cabal
replacement based on nix creating local environments for each working
directory based on your configuration. Dependency resolution is done by
brute force. So currently it does not make sense to support all possible
combinations. I can help you getting started if you're interested in it.
It also generates tag files on the fly.

Marc Weber



More information about the nix-dev mailing list