[Nix-dev] ./configure && make && make install
Peter Simons
simons at cryp.to
Tue Jan 3 17:50:54 CET 2012
Hi Sergey,
> unpack-the-tarball && ./configure && make && make install
>
> doesn't work in nixos because of missing /usr/include and /usr/lib.
a fairly simple solution is to create a Nix profile that contains all
the standard libraries (glibc, openssl, coreutils, etc.) and to
configure environment variables C_INCLUDE_PATH, LIBRARY_PATH, etc. so
that they point into that profile. This means that gcc is going to find
all those components automatically, so ./configure is usually going to
work fine.
Take care,
Peter
More information about the nix-dev
mailing list