ce50734cf0
- gcc/ld-wrappers have been factored out into a separate derivation. This allows a working gcc to be installed in the user environment. (Previously the Nix gcc didn't work because it needed a whole bunch of flags to point to glibc.) - Better modularity: packages can specify hooks into the setup scripts. For instance, setup no longer knows about the PKG_CONFIG_PATH variable; pkgconfig can set it up instead. - gcc not longer depends on binutils. This simplifies the bootstrap process. svn path=/nixpkgs/trunk/; revision=816
11 lines
319 B
Nix
11 lines
319 B
Nix
# Here we construct an absolutely trivial `initial' standard
|
|
# environment. It's not actually a functional stdenv, since there is
|
|
# not necessarily a working C compiler. We need this to build
|
|
# gcc-wrapper et al. for the native stdenv.
|
|
|
|
{system, name}:
|
|
|
|
derivation {
|
|
inherit system name;
|
|
builder = ./builder.sh;
|
|
} |