/lib64 doesn't make much sense in nix. How are you building the package? Have you enabled nix chroot builds?
On Sat, Sep 27, 2014 at 1:03 PM, Vincent Laporte <[email protected]> wrote: > Hello, > > I am using Nix on Fedora x86_64 and a clone of NixOs/nixpkgs github > repository. When I install a package, sometimes it is built from > sources, sometimes there is a binary version already built by hydra. > > There is a package that I cannot build whereas hydra succeeds. It > depends on `nettle` and uses `pkgconfig` to find it at build time. > > When I build `nettle`, I get a tree like this (excerpt): > > /nix/store/9skwfbcv4xa41wfzsad56snc2fi2mj8j-nettle-2.7.1/ > |-- bin > |-- include > |-- lib64 > | |-- libnettle.a > | `-- pkgconfig > | `-- nettle.pc > > However the hydra build is slightly different as can be seen at > http://hydra.nixos.org/build/14846797/contents/1 > > The library and `.pc` file end up in `/lib` rather than in `/lib64`. > > Unfortunately, `pkgconfig` does not look in `/lib64` but only in `/lib`; > see: > > https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/misc/pkgconfig/setup-hook.sh > > What makes the builds on my machine and on hydra so different? Is it an > issue of my configuration? > > Should `pkgconfig` also look into `/lib64`? > > Best regards, > -- > Vincent. > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > -- www.debian.org - The Universal Operating System
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
