nixpkgs/pkgs/stdenv-linux/stdenv-nativetools-build.sh
Eelco Dolstra 3467585b1b * Split off the native build init into setup-nativetools.sh.
* Add the $gcc/lib to the library path in the Nixified stdenv.  (This
  include libgcc.so and libstdc++.so.)

svn path=/nixpkgs/trunk/; revision=340
2003-08-22 13:42:21 +00:00

14 lines
260 B
Bash
Executable file

#! /bin/sh
export PATH=/usr/local/bin:/usr/bin:/bin
mkdir $out || exit 1
sed \
-e s^@GLIBC\@^$glibc^g \
-e s^@CC\@^$cc^g \
-e s^@CXX\@^$cxx^g \
-e s^@BASEENV\@^$baseenv^g \
-e s^@PATH\@^$p^g \
-e s^@SHELL\@^$shell^g \
< $setup > $out/setup || exit 1