[Nix-dev] Missing library: zlib

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Mar 7 10:16:43 CET 2014


Hi,

On 06/03/14 18:44, Thomas Bereknyei wrote:

> I routinely find myself in a situation where some build tool or installation of
> software (gcc, pip, a runtime) not via a nix expression) will fail due to not
> having zlib available/in scope. What would be a simple way to prevent this
> annoyance?

In Nix 1.7, you can do:

  $ nix-shell -p zlib

to start a shell in which zlib is in scope (by setting various environment
variables). So you should then be able to run "make" or whatever.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list