Files
nixpkgs/pkgs/development/compilers/gcc-wrapper/default.nix
Eelco Dolstra 287edecf42 * Added gperf, texinfo, ncurses.
* Started moving the gcc wrapper stuff out of stdenv.
* Added octavefront and rna.

svn path=/nixpkgs/trunk/; revision=814
2004-03-05 10:13:23 +00:00

18 lines
614 B
Nix

# The Nix `gcc' derivation is not directly usable, since it doesn't
# know where the C library and standard header files are. Therefore
# the compiler produced by that package cannot be installed directly
# in a user environment and used from the command line. This
# derivation provides a wrapper that sets up the right environment
# variables so that the compiler and the linker just "work".
{stdenv, gcc}:
derivation {
name = gcc.name; # maybe a bad idea
system = stdenv.system;
builder = ./builder.sh;
glibc = stdenv.param4; # !!! hack
inherit stdenv gcc;
inherit (gcc) langC langCC langF77;
}