[Nix-dev] Using Nix with external (but 'pure') dependencies

Luca Bruno lethalman88 at gmail.com
Wed Jan 14 19:53:05 CET 2015


Either with gcc or icc you still need to patchelf. Patchelf is common in
nix to be used, so don't be afraid. Try this path first which should be the
easiest. Making icc work well with nix may also need some patches etc. to
make it pure.

On Wed, Jan 14, 2015 at 7:40 PM, Ben Darwin <bcdarwin at gmail.com> wrote:

> We could try to compile with ICC instead if that would be the only
> thing we'd have to cp/patchelf.  Is it likely we could re-use library
> derivations with { cc = icc } in that case, or would we have to write
> some for BLAS as well as our own tools?
>
> On 14 January 2015 at 12:41, Luca Bruno <lethalman88 at gmail.com> wrote:
> > On 14/01/2015 18:36, Ben Darwin wrote:
> >> Currently we compile with GCC, and we'd probably be willing to
> >> continue doing so since libraries do much of our heavy lifting.
> > Then you are left with packing the libs as nix derivation with patchelf,
> > and pray it works :)
> > _______________________________________________
> > nix-dev mailing list
> > nix-dev at lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
NixOS Linux <http://nixos.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150114/073ce0c0/attachment.html 


More information about the nix-dev mailing list