[Nix-dev] Native dependencies in reengineered npm2nix

Sander van der Burg svanderburg at gmail.com
Wed Nov 26 13:19:42 CET 2014


I recently ran into a problem with a missing native dependency as well.
Fortunately, the generated expressions have override facilities that can be
used to manually inject those missing (undetected) ones. I have adapted the
README.md file with an example. Maybe that helps!

Regards,

Sander

On Wed, Nov 12, 2014 at 8:08 AM, Colin Putney <colin at wiresong.com> wrote:

> Hi all,
>
> I'm making more progress on converting my projects to use the new npm2nix
> generator, but I've run into another issue: how are we do provide native
> dependencies for npm packages?
>
> In my case, I'm using the pg package from npm, which needs to bind to
> libpq. With the old version of npm2nix, I just hacked up nixpkgs to supply
> the necessary dependencies via nativeDeps. This new version doesn't rely on
> nixpkgs, though, and I don't see an equivalent mechanism.
>
> Did I miss something? How are native dependencies supposed to be specified?
>
> Colin
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141126/42dc8822/attachment.html 


More information about the nix-dev mailing list