Is there a way to make it so that zlib is always in scope using something in the configuration.nix setup? Or should I just call nix-shell every time? On Mar 7, 2014 2:16 AM, "Eelco Dolstra" <[email protected]> wrote:
> 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/ > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
