[Nix-dev] overview about hack-nix and how it works

Marc Weber marco-oweber at gmx.de
Wed Aug 10 18:10:31 CEST 2011


Excerpts from Andres Loeh's message of Wed Aug 10 17:15:50 +0200 2011:
> I might try and fix leksah package detection in NixOS. So I'd wait until next Monday
> before spending a lot of extra time on this.

hack-nix is populating GHC_PACKAGE_PATH. In which way would you try fixing it?
Make leksah pay attention to ~/.nix/profile/**** package databases?

I'd like to see the ghc-pkg --list thing fixed as well.

What about replacing the -package .. hack with setting
GHC_PACKAGE_PATH=....: ? (the : at the end says also use system
packages).

I'll give it a try. Can you help making a list what to test?

- scion
- leksah
- ./Setup configure (what about cabal configure?)
- ...
- ghc
- ghci

So that they all detect it?
Does something else come to your mind?

I'm really curious in which way Leksah's "fix fixable errors" compete
with my hacky Vim scripts..

I like leksah using Yi (or will be using)

Marc Weber



More information about the nix-dev mailing list