Ryan, Thia happens in my normal zsh shell. Cabal will complain about a missing library, but I can fix that by going to 'nix-shell -p libiconv'. Stack interacting with nix changes things so it sometimes works, I dont have a clear example. Stack setup or even try-reflex has given me this sort of issue. I resorted to adding addBuildDepends to a bunch of packages in try-reflex's defsault.nix, but somehow i don't think anyone else is doing that. My normal shell just never seems to have the libraries in scope and no amount of nix-env seems to work. It's as if I'm not getting the -dev versions.
Tom > ----------------------------------------------------------------- > > Message: 1 > Date: Tue, 6 Sep 2016 16:50:58 -0400 > From: Ryan Trinkle <ryan.trin...@gmail.com> > To: Thomas Bereknyei <tombe...@gmail.com> > Cc: nix-dev <nix-dev@lists.science.uu.nl> > Subject: Re: [Nix-dev] zlib, iconv, bzip2, et. al. > Message-ID: > < > cahnepize-d638eyz4htjqey_nm2bjgvayt95jsovua89dr0...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Can you provide the command line you're using to get into the nix shell? > My understanding was that this kind of thing should be handled > automatically, but apparently that's not always the case. > > On Tue, Sep 6, 2016 at 8:23 AM, Thomas Bereknyei <tombe...@gmail.com> > wrote: > > > I often have a problem where a library is not available during > > compilation, usually Haskell. The standard answer is to start 'nix-shell > -p > > zlib' and proceed. Is there a way to have them in my standard > environment? > > This occurs both on OSX and NixOS even when i have those packages > installed > > (either via nixos-rebuild or nix-env). I am also using zsh. > > > > Tom > > > > >
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev