Hi,

On 13/08/13 23:10, Aristid Breitkreuz wrote:

> I was trying to use nix-build --run-env to get an environment where I could
> generate a kernel configuration which I could then pass to the manual
> configuration stuff in nixpkgs. However, I stumbled upon it not finding 
> curses,
> and with a little bit of effort I could not get it to work.
> 
> So my question is, those of you who use this feature, how do you actually 
> invoke
> make nconfig or equivalent?

Add ncurses to the buildInputs of the kernel, then in the Nix shell do:

$ NIX_CFLAGS_LINK+=" -lncurses" make menuconfig

Passing -lncurses explicitly shouldn't be necessary, but for some reason the -l
flags in the Makefile are lost.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to