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 <[email protected]> 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
> [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

Reply via email to